Skip to content

Commit

Permalink
fix: fix esm export
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Feb 27, 2024
1 parent 172ae8a commit 50c6f7d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"main": "lib/cjs/index.js",
"types": "lib/cjs/index.d.ts",
"module": "lib/esm/index.js",
"exports": {
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js"
},
"scripts": {
"clean": "rm -rf ./.nyc_output ./node_modules/.cache ./coverage",
"build": "tsc -b tsconfig.json tsconfig.esm.json --verbose",
Expand Down

0 comments on commit 50c6f7d

Please sign in to comment.