mirror of
https://github.com/ae-utbm/sith.git
synced 2026-07-17 03:58:35 +00:00
split node and bundled TS config
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"exclude": ["./staticfiles/generated/*", "vite.config.mts", "node_modules/*"],
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./staticfiles/generated/bundled/",
|
||||||
|
"sourceMap": true,
|
||||||
|
"noImplicitAny": true,
|
||||||
|
"module": "esnext",
|
||||||
|
"target": "es2024",
|
||||||
|
"allowJs": true,
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"experimentalDecorators": true,
|
||||||
|
"allowSyntheticDefaultImports": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"composite": true,
|
||||||
|
"types": ["alpinejs"],
|
||||||
|
"paths": {
|
||||||
|
"#openapi": ["./staticfiles/generated/openapi/client/index.ts"],
|
||||||
|
"#openapi:*": ["./staticfiles/generated/openapi/client/*"],
|
||||||
|
"#core:*": ["./core/static/bundled/*"],
|
||||||
|
"#pedagogy:*": ["./pedagogy/static/bundled/*"],
|
||||||
|
"#counter:*": ["./counter/static/bundled/*"],
|
||||||
|
"#com:*": ["./com/static/bundled/*"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+4
-22
@@ -1,24 +1,6 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"references": [
|
||||||
"outDir": "./staticfiles/generated/bundled/",
|
{"path": "tsconfig.bundled.json"},
|
||||||
"sourceMap": true,
|
{"path": "tsconfig.node.json"}
|
||||||
"noImplicitAny": true,
|
],
|
||||||
"module": "esnext",
|
|
||||||
"target": "es2024",
|
|
||||||
"allowJs": true,
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"types": ["alpinejs"],
|
|
||||||
"paths": {
|
|
||||||
"#openapi": ["./staticfiles/generated/openapi/client/index.ts"],
|
|
||||||
"#openapi:*": ["./staticfiles/generated/openapi/client/*"],
|
|
||||||
"#core:*": ["./core/static/bundled/*"],
|
|
||||||
"#pedagogy:*": ["./pedagogy/static/bundled/*"],
|
|
||||||
"#counter:*": ["./counter/static/bundled/*"],
|
|
||||||
"#com:*": ["./com/static/bundled/*"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"include": ["vite.config.*"],
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "preserve",
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"types": ["node"],
|
||||||
|
"emitDeclarationOnly": true,
|
||||||
|
"composite": true
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user