mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-11 09:24:19 -06:00
Bump minimum Node to 14.17, ES to 2020 for TS 5.1 (#53291)
This commit is contained in:
parent
c70fa514b0
commit
04f813d164
@ -171,7 +171,7 @@ function createBundler(entrypoint, outfile, taskOptions = {}) {
|
||||
bundle: true,
|
||||
outfile,
|
||||
platform: "node",
|
||||
target: "es2018",
|
||||
target: ["es2020", "node14.17"],
|
||||
format: "cjs",
|
||||
sourcemap: "linked",
|
||||
sourcesContent: false,
|
||||
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@ -57,7 +57,7 @@
|
||||
"which": "^2.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.20"
|
||||
"node": ">=14.17"
|
||||
}
|
||||
},
|
||||
"node_modules/@esbuild/android-arm": {
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
"tsserver": "./bin/tsserver"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.20"
|
||||
"node": ">=14.17"
|
||||
},
|
||||
"files": [
|
||||
"bin",
|
||||
|
||||
@ -4,8 +4,8 @@
|
||||
"outDir": "../built/local",
|
||||
|
||||
"pretty": true,
|
||||
"lib": ["es2018"],
|
||||
"target": "es2018",
|
||||
"lib": ["es2020"],
|
||||
"target": "es2020",
|
||||
"module": "CommonJS",
|
||||
"moduleResolution": "node",
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user