Files
webstudio/packages/tsconfig/base.json
T
Bogdan Chadkin fb5414f93d build: use webstudio export condition for tools (#2347)
This fixes the issue with eventsource-parser package having source
export condition with different setup.

Now everywhere "webstudio" is used to reference our sources.
2023-09-20 22:14:34 +04:00

31 lines
915 B
JSON

{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"compilerOptions": {
"module": "ES2022",
"target": "ES2022",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"inlineSources": false,
"isolatedModules": true,
"moduleResolution": "bundler",
"customConditions": ["webstudio"],
"noUnusedLocals": true,
"noUnusedParameters": false,
"preserveWatchOutput": true,
"skipLibCheck": true,
"strict": true,
"allowJs": false,
"jsx": "react-jsx",
"resolveJsonModule": true,
"noFallthroughCasesInSwitch": true,
"verbatimModuleSyntax": true,
"emitDeclarationOnly": true,
"declaration": true,
// types should be generated to provide additional checks
// needed only for generation
// there is no other way to enable these checks
"declarationDir": "node_modules/.ws-typecheck-tmp"
}
}