Skip to content

Commit

Permalink
Add Node-specific export condition for ESM entrypoint that re-exports…
Browse files Browse the repository at this point in the history
… CJS
  • Loading branch information
andrewbranch committed May 1, 2023
1 parent a100d7b commit a0a67d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
"exports": {
".": {
"module": "./tslib.es6.js",
"import": "./modules/index.js",
"import": {
"node": "./modules/index.js",
"default": "./tslib.es6.js"
},
"default": "./tslib.js"
},
"./*": "./*",
Expand Down

0 comments on commit a0a67d9

Please sign in to comment.