Skip to content

Commit ba5a375

Browse files
DanielRosenwasseryyx990803
authored andcommitted
feat: use esnext targets for downleveling and modules. (#966)
1 parent 179033d commit ba5a375

File tree

1 file changed

+2
-2
lines changed
  • packages/@vue/cli-plugin-typescript/generator/template

1 file changed

+2
-2
lines changed

packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
3-
"target": "<%- options.useTsWithBabel ? 'es2015' : 'es5' %>",
4-
"module": "es2015",
3+
"target": "<%- options.useTsWithBabel ? 'esnext' : 'es5' %>",
4+
"module": "esnext",
55
"strict": true,
66
"jsx": "preserve",
77
"moduleResolution": "node",

0 commit comments

Comments
 (0)