Skip to content

Commit

Permalink
fix: make native ESM importing from Node.js work
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusU committed Aug 5, 2021
1 parent e88635b commit 7a850b7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
"main": "lib/index.js",
"module": "es/index.js",
"typings": "es/index.d.ts",
"exports": {
".": {
"require": "./lib/index.js",
"default": "./es/index.js"
},
"./es/*": "./es/*.js",
"./lib/*": "./lib/*.js",
"./package.json": "./package.json"
},
"files": [
"lib",
"es"
Expand Down

0 comments on commit 7a850b7

Please sign in to comment.