Files
Nitro-V3/tsconfig.json
T
simoleo89 b391750013 fix(build): map pixi.js in tsconfig paths for client pixiPatch.ts
vite.config already aliases pixi.js to the renderer's copy, but tsconfig had no
matching path, so tsgo could not resolve the client-side import in src/pixiPatch.ts
(merge-introduced). Mirror the vite alias. Fixes TS2307.
2026-06-07 12:31:45 +02:00

39 lines
961 B
JSON

{
"compilerOptions": {
"target": "es2022",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": false,
"module": "ES2022",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"paths": {
"@layout/*": [
"./src/layout/*"
],
"@/*": [
"./src/*"
],
"pixi.js": [
"../Nitro_Render_V3/node_modules/pixi.js"
]
}
},
"include": [
"src",
"node_modules/@nitrots/nitro-renderer/src/**/*.ts"
]
}