Skip to content

Commit

Permalink
fix(playground): tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
drl990114 committed Aug 29, 2023
1 parent 62b5837 commit ad13c1d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 15 deletions.
41 changes: 30 additions & 11 deletions apps/playground/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,32 @@
{
"extends": "../../tsconfig.base.json",
"include": ["./"],
"compilerOptions": {
"composite": true,
"outDir": "../dist-types/"
},
"references": [
{
"path": "../../packages/editor/tsconfig.json"
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"experimentalDecorators": true,
"allowUnreachableCode": true,
"pretty": true,
"noEmit": false,
"jsx": "react-jsx",
"baseUrl": ".",
"outDir": "./dist-types/",
"paths": {
"@/*": ["./src/*"]
}
]
}
},
"include": ["src", "vite.config.ts"],
"exclude": ["node_modules", "dist", "dist-types", ".next", "coverage", "out", ".cache", "**/node_modules", "**/dist", "**/dist-types", "**/.next", "**/coverage", "**/out", "**/.cache"],
"references": [{ "path": "./tsconfig.node.json" }]
}

6 changes: 2 additions & 4 deletions apps/playground/tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
"compilerOptions": {
"composite": true,
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
"module": "esnext",
"moduleResolution": "node"
},
"include": ["vite.config.ts"]
}

0 comments on commit ad13c1d

Please sign in to comment.