33 lines
1.4 KiB
JSON
33 lines
1.4 KiB
JSON
{
|
|
// TS config for the kjol-website front-end. The bundler resolves the @ui / @kjol / @appgen
|
|
// aliases at build time; the editor's TypeScript server needs them declared here or it
|
|
// reports every `import … from "@ui/…"` as an unresolved module. Mirrors the shape of a
|
|
// consuming app's root tsconfig, with the paths made relative to this nested example
|
|
// (the shared JS tree lives two levels up at go/jsruntime).
|
|
"compilerOptions": {
|
|
"target": "ES2025",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"jsx": "preserve",
|
|
"jsxImportSource": "solid-js",
|
|
"noEmit": true,
|
|
"allowJs": true,
|
|
"checkJs": false,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"resolveJsonModule": true,
|
|
"strict": false,
|
|
"lib": ["ES2025", "DOM", "DOM.Iterable"],
|
|
"paths": {
|
|
"@ui/*": ["../../jsruntime/uikit/*"],
|
|
"@kjol/*": ["../../jsruntime/*"],
|
|
"@appgen/*": ["./frontend/src/ui/generated/*"],
|
|
"*": ["../../jsruntime/runtime/*", "./frontend/vendor/*"]
|
|
}
|
|
},
|
|
"include": ["frontend/**/*", "../../jsruntime/**/*"],
|
|
"exclude": ["frontend/css/**/*", "frontend/vendor/**/*", "../../jsruntime/runtime/**/*", "../../jsruntime/types.d.ts"]
|
|
}
|