Skip to content

Commit 235676f

Browse files
committed
fix(typescript): fix tsconfig.json
1 parent f9c8849 commit 235676f

File tree

1 file changed

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

1 file changed

+6
-6
lines changed

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
"allowSyntheticDefaultImports": true,
1212
"sourceMap": true,
1313
"baseUrl": ".",
14-
"paths": {
15-
"@/*": [
16-
"src/*"
17-
]
18-
},
1914
<%_if (isTest) { _%>
2015
"types": [
2116
<%_ if (hasMocha) { _%>
@@ -24,8 +19,13 @@
2419
<%_ } else if (hasJest) { _%>
2520
"jest"
2621
<%_ } _%>
27-
]
22+
],
2823
<%_ } _%>
24+
"paths": {
25+
"@/*": [
26+
"src/*"
27+
]
28+
}
2929
},
3030
"include": [
3131
"src/**/*.ts",

0 commit comments

Comments
 (0)