Skip to content

Commit

Permalink
fix: make package.exports compatible with webpack@5
Browse files Browse the repository at this point in the history
See discussion in #462
  • Loading branch information
ctavan committed Jun 18, 2020
1 parent af3aadc commit ce21581
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
"exports": {
".": {
"browser": "./dist/esm-browser/index.js",
"require": "./dist/index.js",
"import": "./wrapper.mjs"
"node": {
"module": "./dist/esm-node/index.js",
"require": "./dist/index.js",
"import": "./wrapper.mjs"
},
"default": "./dist/esm-node/index.js"
},
"./package.json": "./package.json"
},
Expand Down

0 comments on commit ce21581

Please sign in to comment.