debian-image-builder-frontend/tsconfig.json
regexowl 7c7427761b tsconfig: Specify include
Specify, what folders to include in the compilation process. This limits the scope, might reduce compilation time and will resolve errors outputted to the console during build.
2025-05-26 09:46:16 +02:00

29 lines
828 B
JSON

{
"compilerOptions": {
"outDir": "./dist/",
"noImplicitAny": true,
"module": "esnext",
"target": "es2021",
"downlevelIteration": true, // Needed to allow iteration over some objects like Map() while target is es5
"jsx": "react-jsx",
"sourceMap": true,
"allowJs": true,
"moduleResolution": "node",
"types": [
"vitest/globals",
"@testing-library/jest-dom"
],
"exactOptionalPropertyTypes": true,
"strictNullChecks": true,
"allowSyntheticDefaultImports": true,
"paths": {
"*": [
// Needed so we can resolve `cockpit` & `cockpit/fsinfo`
// types. We have stubbed those functions out for the
// as this is the tsconfig file for the service.
"./src/test/mocks/*"
]
}
},
"include": ["./src", "./playwright"]
}