Skip to content

Commit 2e3322d

Browse files
bors[bot]mtsmfm
andauthored
Merge #10062
10062: Set esbuild target as node14 r=matklad a=mtsmfm ref: #10061 Currently, target version is not specified so it's esnext. https://esbuild.github.io/api/#target VSCode uses node 14 since version 1.56. #3167 (comment) Co-authored-by: Fumiaki MATSUSHIMA <[email protected]>
2 parents fae440c + 7bbca5d commit 2e3322d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"scripts": {
2828
"vscode:prepublish": "npm run build-base -- --minify",
2929
"package": "vsce package -o rust-analyzer.vsix",
30-
"build-base": "esbuild ./src/main.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
30+
"build-base": "esbuild ./src/main.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node --target=node14",
3131
"build": "npm run build-base -- --sourcemap",
3232
"watch": "npm run build-base -- --sourcemap --watch",
3333
"lint": "tsfmt --verify && eslint -c .eslintrc.js --ext ts ./src ./tests",

0 commit comments

Comments
 (0)