Skip to content

Commit 9c3138c

Browse files
authored
build: change package type from cjs to esm (#72)
1 parent bae9587 commit 9c3138c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"url": "git+https://github.com/passageidentity/passage-flex-node.git"
2828
},
2929
"license": "MIT",
30-
"type": "commonjs",
30+
"type": "module",
3131
"main": "./dist/index.js",
3232
"module": "./dist/index.mjs",
3333
"types": "./dist/index.d.ts",
@@ -57,7 +57,7 @@
5757
"dev": "ts-node-dev --respawn testServer.ts",
5858
"test": "jest",
5959
"test:watch": "jest --watch",
60-
"build": "tsc --noEmit & tsup ./src/index.ts --no-config --format esm,cjs --dts-resolve --minify",
60+
"build": "tsc --noEmit & tsup ./src/index.ts --no-config --format esm --dts-resolve --minify",
6161
"change": "beachball change",
6262
"publish": "beachball publish -y",
6363
"beachball-bump": "beachball bump",

0 commit comments

Comments
 (0)