Skip to content

Commit 041ad1d

Browse files
committed
Fix esm build
1 parent ea4170f commit 041ad1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
2929
"clean": "rimraf dist esm",
3030
"format": "prettier --write .",
31-
"build:esm": "tsc --outDir esm",
31+
"build:esm": "tsc --module nodenext --moduleResolution nodenext --outDir esm",
3232
"build:es5": "tsc --module commonjs --outDir dist",
3333
"build": "yarn build:esm && yarn build:es5",
3434
"prebuild": "yarn clean",

0 commit comments

Comments
 (0)