Skip to content

Commit

Permalink
Try conditional subpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
pksjce committed Jan 17, 2022
1 parent 3ba4780 commit b76b649
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@
"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"
".": {
"node": "./lib/index.js",
"default": "./lib-esm/index.js"
},
"./drafts": {
"node": "./lib/drafts.js",
"default": "./lib-esm/drafts.js"
}
},
"typings": "lib/index.d.ts",
"sideEffects": false,
Expand Down

0 comments on commit b76b649

Please sign in to comment.