mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Bump target JS version
This commit is contained in:
parent
24cf957627
commit
1698afc05d
2 changed files with 3 additions and 3 deletions
|
@ -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",
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es2019",
|
||||
"target": "es2021",
|
||||
"outDir": "out",
|
||||
"lib": [
|
||||
"es2019"
|
||||
"es2021"
|
||||
],
|
||||
"sourceMap": true,
|
||||
"rootDir": ".",
|
||||
|
|
Loading…
Reference in a new issue