Skip to content

Commit

Permalink
build: change package type from cjs to esm (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctran88 authored Dec 18, 2024
1 parent bae9587 commit 9c3138c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"url": "git+https://github.com/passageidentity/passage-flex-node.git"
},
"license": "MIT",
"type": "commonjs",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -57,7 +57,7 @@
"dev": "ts-node-dev --respawn testServer.ts",
"test": "jest",
"test:watch": "jest --watch",
"build": "tsc --noEmit & tsup ./src/index.ts --no-config --format esm,cjs --dts-resolve --minify",
"build": "tsc --noEmit & tsup ./src/index.ts --no-config --format esm --dts-resolve --minify",
"change": "beachball change",
"publish": "beachball publish -y",
"beachball-bump": "beachball bump",
Expand Down

0 comments on commit 9c3138c

Please sign in to comment.