Skip to content

Commit ad13c1d

Browse files
committed
fix(playground): tsconfig
1 parent 62b5837 commit ad13c1d

File tree

2 files changed

+32
-15
lines changed

2 files changed

+32
-15
lines changed

apps/playground/tsconfig.json

Lines changed: 30 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,32 @@
11
{
2-
"extends": "../../tsconfig.base.json",
3-
"include": ["./"],
4-
"compilerOptions": {
5-
"composite": true,
6-
"outDir": "../dist-types/"
7-
},
8-
"references": [
9-
{
10-
"path": "../../packages/editor/tsconfig.json"
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"target": "ESNext",
5+
"useDefineForClassFields": true,
6+
"lib": ["DOM", "DOM.Iterable", "ESNext"],
7+
"allowJs": false,
8+
"skipLibCheck": true,
9+
"esModuleInterop": false,
10+
"allowSyntheticDefaultImports": true,
11+
"strict": true,
12+
"forceConsistentCasingInFileNames": true,
13+
"module": "ESNext",
14+
"moduleResolution": "Node",
15+
"resolveJsonModule": true,
16+
"isolatedModules": true,
17+
"experimentalDecorators": true,
18+
"allowUnreachableCode": true,
19+
"pretty": true,
20+
"noEmit": false,
21+
"jsx": "react-jsx",
22+
"baseUrl": ".",
23+
"outDir": "./dist-types/",
24+
"paths": {
25+
"@/*": ["./src/*"]
1126
}
12-
]
13-
}
27+
},
28+
"include": ["src", "vite.config.ts"],
29+
"exclude": ["node_modules", "dist", "dist-types", ".next", "coverage", "out", ".cache", "**/node_modules", "**/dist", "**/dist-types", "**/.next", "**/coverage", "**/out", "**/.cache"],
30+
"references": [{ "path": "./tsconfig.node.json" }]
31+
}
32+

apps/playground/tsconfig.node.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
22
"compilerOptions": {
33
"composite": true,
4-
"skipLibCheck": true,
5-
"module": "ESNext",
6-
"moduleResolution": "bundler",
7-
"allowSyntheticDefaultImports": true
4+
"module": "esnext",
5+
"moduleResolution": "node"
86
},
97
"include": ["vite.config.ts"]
108
}

0 commit comments

Comments
 (0)