Skip to content

Commit 30b3eb2

Browse files
author
Barthélémy Ledoux
authored
fix: compile npm packages for node 12 (#18989)
1 parent 84635b1 commit 30b3eb2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

npm/vite-dev-server/tsconfig.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
{
22
"compilerOptions": {
33
/* Basic Options */
4-
"target": "ESNEXT" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */,
4+
"target": "ES2019" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */,
55
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
66
"moduleResolution": "node",
77
"skipLibCheck": true,
8-
"lib": [
9-
"es2015",
10-
"dom"
11-
] /* Specify library files to be included in the compilation: */,
8+
"lib": ["es2019", "es2020.bigint", "es2020.string", "es2020.symbol.wellknown"] /* Specify library files to be included in the compilation: */,
129
"allowJs": true /* Allow javascript files to be compiled. */,
1310
// "checkJs": true, /* Report errors in .js files. */
1411
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */

0 commit comments

Comments
 (0)