From b9694e7f730103c6820e2151e39a0066dddf7552 Mon Sep 17 00:00:00 2001 From: CJ Patoilo Date: Tue, 19 Nov 2019 16:25:36 -0300 Subject: [PATCH] refactor: remove redundancy in regex of the include files --- .../cli-plugin-typescript/generator/template/tsconfig.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json b/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json index 827e958b2a..0f07e94065 100644 --- a/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json +++ b/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json @@ -38,11 +38,8 @@ ] }, "include": [ - "src/**/*.ts", - "src/**/*.tsx", - "src/**/*.vue", - "tests/**/*.ts", - "tests/**/*.tsx" + "src/**/*.{ts,tsx,vue}", + "tests/**/*.{ts,tsx}" ], "exclude": [ "node_modules"