Skip to content

Commit 0e29efe

Browse files
committed
build: set esbuild target to es2019
1 parent bd78eec commit 0e29efe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"clean": "node -e \"fs.rmSync('build', { recursive: true, force: true })\"",
1818
"build": "pnpm build:type && pnpm build:js",
1919
"build:type": "tsc -b --noCheck --emitDeclarationOnly",
20-
"build:js": "esbuild src/index.ts --outdir=build --target=es2022 --format=esm --packages=external --sourcemap --bundle --minify",
20+
"build:js": "esbuild src/index.ts --outdir=build --target=es2019 --format=esm --packages=external --sourcemap --bundle --minify",
2121
"lint": "eslint .",
2222
"prepare": "pnpm build"
2323
},

0 commit comments

Comments
 (0)