Skip to content

Commit bee0fe3

Browse files
committed
chore: add target in the build command
1 parent 81b1f47 commit bee0fe3

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
@@ -16,7 +16,7 @@
1616
"scripts": {
1717
"prepare": "husky install",
1818
"format": "prettier --write .",
19-
"build": "esbuild --bundle index.js --format=cjs --platform=node --outfile=outfile.cjs",
19+
"build": "esbuild --bundle index.js --format=cjs --platform=node --target=node14 --outfile=outfile.cjs",
2020
"snapshot": "zx ./scripts/snapshot.mjs",
2121
"pretest": "run-s build snapshot",
2222
"test": "zx ./scripts/test.mjs",

0 commit comments

Comments
 (0)