Skip to content

Commit 0d48d63

Browse files
committed
chore: cleanup build scripts
1 parent c65fd52 commit 0d48d63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"test:watch": "cross-env NODE_OPTIONS=--experimental-vm-modules npx jest --watchAll",
1717
"prepare": "is-ci || husky install",
1818
"build": "npm run clean && npm run build:esm && npm run build:cjs",
19-
"build:esm": "tsc --module es6 --outDir dist/esm --moduleResolution node",
20-
"build:cjs": "tsc --module commonjs --outDir dist/cjs --moduleResolution node",
19+
"build:esm": "tsc --module ES2020 --outDir dist/esm",
20+
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
2121
"lint": "eslint \"src/*.ts\"",
2222
"clean": "rimraf dist"
2323
},

0 commit comments

Comments
 (0)