diff options
| author | bors <bors@rust-lang.org> | 2022-04-15 18:17:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-04-15 18:17:23 +0000 |
| commit | 9ed459751f9f5f4eef31f6b49557dbcbf21e2db3 (patch) | |
| tree | ab9b4e05607bc58135b2d5fb85c5f7887a881bca /editors/code | |
| parent | 20e6065a7a2b02ae63dce498770d02bd343f7281 (diff) | |
| parent | 1698afc05d013dbd1966c3d1a63c2226410d48f7 (diff) | |
| download | rust-9ed459751f9f5f4eef31f6b49557dbcbf21e2db3.tar.gz rust-9ed459751f9f5f4eef31f6b49557dbcbf21e2db3.zip | |
Auto merge of #11997 - lnicola:es-target, r=lnicola
minor: Bump target JS version
Diffstat (limited to 'editors/code')
| -rw-r--r-- | editors/code/package.json | 2 | ||||
| -rw-r--r-- | editors/code/tsconfig.json | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 7860d18758a..60c827e31ab 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -27,7 +27,7 @@ "scripts": { "vscode:prepublish": "npm run build-base -- --minify", "package": "vsce package -o rust-analyzer.vsix", - "build-base": "esbuild ./src/main.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node --target=node14", + "build-base": "esbuild ./src/main.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node --target=node16", "build": "npm run build-base -- --sourcemap", "watch": "npm run build-base -- --sourcemap --watch", "lint": "tsfmt --verify && eslint -c .eslintrc.js --ext ts ./src ./tests", diff --git a/editors/code/tsconfig.json b/editors/code/tsconfig.json index 7c4fbd21ebe..e2ba2f231ae 100644 --- a/editors/code/tsconfig.json +++ b/editors/code/tsconfig.json @@ -1,10 +1,10 @@ { "compilerOptions": { "module": "commonjs", - "target": "es2019", + "target": "es2021", "outDir": "out", "lib": [ - "es2019" + "es2021" ], "sourceMap": true, "rootDir": ".", |
