Skip to content

Commit

Permalink
fix: Fix incorrect CJS exports for node@14
Browse files Browse the repository at this point in the history
  • Loading branch information
motss committed Feb 8, 2021
1 parent 40a4d2b commit 4d9daa6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
"url": "https://github.com/motss"
},
"exports": {
".": "./dist/index.mjs",
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.mjs"
},
"./dist/*": "./dist/*"
},
"main": "./dist/index",
Expand Down

0 comments on commit 4d9daa6

Please sign in to comment.