We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--target=ES2022
esbuild
1 parent d4530fa commit 8362f48Copy full SHA for 8362f48
package.json
@@ -30,7 +30,7 @@
30
],
31
"scripts": {
32
"build": "npm run build:esm && npm run build:cjs",
33
- "build:cjs": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.cjs",
+ "build:cjs": "esbuild src/index.ts --bundle --target=ES2022 --platform=node --outfile=dist/index.cjs",
34
"build:esm": "tsc",
35
"format": "prettier --ignore-path .gitignore --write \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
36
"format:check": "prettier --ignore-path .gitignore --check \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
0 commit comments