extend ts config

This commit is contained in:
Aakansha Doshi 2024-05-06 13:55:02 +05:30
parent 72a98da527
commit 73c53a3c7c
3 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
{ {
"extends": "../../tsconfig",
"exclude": ["**/*.test.*", "tests", "types", "examples", "dist"], "exclude": ["**/*.test.*", "tests", "types", "examples", "dist"],
"compilerOptions": { "compilerOptions": {
"target": "ESNext", "target": "ESNext",

View File

@ -1,11 +1,11 @@
{ {
"extends": "../../tsconfig",
"compilerOptions": { "compilerOptions": {
"target": "ESNext", "target": "ESNext",
"strict": true, "strict": true,
"outDir": "dist", "outDir": "dist",
"skipLibCheck": true, "skipLibCheck": true,
"declaration": true, "declaration": true,
"emitDeclarationOnly": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"module": "ESNext", "module": "ESNext",
"moduleResolution": "Node", "moduleResolution": "Node",

View File

@ -17,5 +17,5 @@
"jsx": "react-jsx" "jsx": "react-jsx"
}, },
"include": ["packages", "excalidraw-app"], "include": ["packages", "excalidraw-app"],
"exclude": ["packages/excalidraw/types", "examples", "packages/excalidraw/tests", "excalidraw-app/tests"] "exclude": ["packages/excalidraw/types", "examples", "packages/**/tests/**", "packages/**/dist/**", "excalidraw-app/tests"]
} }