Skip to content

Commit

Permalink
fix: remove default export
Browse files Browse the repository at this point in the history
using a default export causes the module build file to be used by typescript when it transpiles to cjs, which then doesn't work for mixing esm and cjs. Simply removing the default line resolves the issue.

Fixes #57
  • Loading branch information
6utt3rfly committed Mar 29, 2022
1 parent e35041d commit b2f5d83
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"main": "dist/jse-eval.cjs",
"module": "dist/jse-eval.module.js",
"exports": {
"default": "./dist/jse-eval.module.js",
"import": "./dist/jse-eval.modern.js",
"require": "./dist/jse-eval.cjs"
},
Expand Down

0 comments on commit b2f5d83

Please sign in to comment.