Skip to content

Commit

Permalink
Support Node ESM through conditional exports
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Feb 18, 2020
1 parent f0ff869 commit b72231a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions package.json
Expand Up @@ -137,5 +137,12 @@
],
"engines": {
"node": ">=10.0.0"
},
"exports": {
".": {
"require": "./dist/rollup.js",
"import": "./dist/es/rollup.js"
},
"./dist/": "./dist/"
}
}

0 comments on commit b72231a

Please sign in to comment.