From ba5a3750f59b881c4350c9beee5427ec49a5a4ee Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Fri, 9 Mar 2018 15:48:16 -0800 Subject: [PATCH] feat: use `esnext` targets for downleveling and modules. (#966) --- .../cli-plugin-typescript/generator/template/tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json b/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json index 3e8a74df17..89d9c4c210 100644 --- a/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json +++ b/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { - "target": "<%- options.useTsWithBabel ? 'es2015' : 'es5' %>", - "module": "es2015", + "target": "<%- options.useTsWithBabel ? 'esnext' : 'es5' %>", + "module": "esnext", "strict": true, "jsx": "preserve", "moduleResolution": "node",