From e0e9c93be043e2230d7ed71d892d99372ca2b9a5 Mon Sep 17 00:00:00 2001 From: Pavithra Kodmad Date: Wed, 5 Jan 2022 18:22:20 +1100 Subject: [PATCH] Add exports to package.json --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 1330ed3fae91..c5c25542e98e 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,11 @@ "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js", + "exports":{ + ".": "./lib-esm/index.js", + "./drafts": "./lib-esm/drafts.js", + "./lib-esm/drafts": "./lib-esm/drafts.js" + }, "typings": "lib/index.d.ts", "sideEffects": false, "scripts": {