mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-06-22 14:51:30 +02:00
Update tsconfig.json
This commit is contained in:
parent
e49b1dac20
commit
1373c7a7b4
@ -5,17 +5,12 @@
|
|||||||
// compiler. Proper TS compiler configuration in Wasp is coming soon :)
|
// compiler. Proper TS compiler configuration in Wasp is coming soon :)
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"forceConsistentCasingInFileNames": false,
|
|
||||||
// JSX support
|
// JSX support
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
// Allow default imports.
|
// Allow default imports.
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"lib": [
|
"lib": ["dom", "dom.iterable", "esnext"],
|
||||||
"dom",
|
|
||||||
"dom.iterable",
|
|
||||||
"esnext"
|
|
||||||
],
|
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"types": [
|
"types": [
|
||||||
// This is needed to properly support Vitest testing with jest-dom matchers.
|
// This is needed to properly support Vitest testing with jest-dom matchers.
|
||||||
@ -27,10 +22,7 @@
|
|||||||
// compilation, the following directory doesn't exist. We need to specify
|
// compilation, the following directory doesn't exist. We need to specify
|
||||||
// it to prevent this error:
|
// it to prevent this error:
|
||||||
// https://stackoverflow.com/questions/42609768/typescript-error-cannot-write-file-because-it-would-overwrite-input-file
|
// https://stackoverflow.com/questions/42609768/typescript-error-cannot-write-file-because-it-would-overwrite-input-file
|
||||||
"outDir": "phantom",
|
"outDir": "phantom"
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": ["phantom"]
|
||||||
"phantom"
|
|
||||||
],
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user