Skip to content

Commit 96079b0

Browse files
committed
fix(tsconfig): only apply layout types in essentials preset
1 parent 5a0aece commit 96079b0

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

template/typescript/default/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"resolveJsonModule": true,
1313
"types": [
1414
"vite/client",
15-
"vite-plugin-vue-layouts/client",
1615
"unplugin-vue-router/client"
1716
],
1817
"allowJs": true,
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ESNext",
4+
"jsx": "preserve",
5+
"lib": ["DOM", "ESNext"],
6+
"baseUrl": ".",
7+
"module": "ESNext",
8+
"moduleResolution": "bundler",
9+
"paths": {
10+
"@/*": ["src/*"]
11+
},
12+
"resolveJsonModule": true,
13+
"types": [
14+
"vite/client",
15+
"vite-plugin-vue-layouts/client",
16+
"unplugin-vue-router/client"
17+
],
18+
"allowJs": true,
19+
"strict": true,
20+
"strictNullChecks": true,
21+
"noUnusedLocals": true,
22+
"esModuleInterop": true,
23+
"forceConsistentCasingInFileNames": true,
24+
"isolatedModules": true,
25+
"skipLibCheck": true
26+
},
27+
"include": [
28+
"src/**/*",
29+
"src/**/*.vue"
30+
],
31+
"exclude": ["dist", "node_modules", "cypress"],
32+
"references": [{ "path": "./tsconfig.node.json" }],
33+
}

0 commit comments

Comments
 (0)