Skip to content

Commit

Permalink
fix(package.json): fix exports map (#78)
Browse files Browse the repository at this point in the history
Fix bugs and add support for ESM inside Node.js

Resolves #70

Signed-off-by: Niloy Sikdar <niloysikdar30@gmail.com>
  • Loading branch information
niloysikdar committed Aug 7, 2022
1 parent aae13a6 commit 0716cb0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts"
}
},
"scripts": {
"prepare": "husky install",
"build": "rm -rf dist && yarn build:esm && yarn build:cjs && yarn fixup",
Expand Down

0 comments on commit 0716cb0

Please sign in to comment.