Skip to content

Commit

Permalink
Update package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Joaqim authored May 11, 2024
1 parent 35cb54e commit 6c79239
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@
"type": "commonjs",
"exports": {
"node": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
"require": "./package/wrapper-es6.js",
"import": "./esm-wrapper/index.mjs"
},
"default": "./dist/esm/index.js"
"default": "./esm-wrapper/index.mjs"
},
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"files": [
"./dist/cjs/index.js",
"./dist/esm/index.js",
"./dist/cjs/index.d.ts"
"./dist/cjs/index.d.ts",
"./package/wrapper-es6.js",
"./esm-wrapper/index.mjs"
],
"scripts": {
"ts-types:esm": " tsc -p tsconfig.json --emitDeclarationOnly --outDir dist/esm",
Expand Down

0 comments on commit 6c79239

Please sign in to comment.