mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
ecea05d7ae
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.
39 lines
961 B
JSON
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"
|
|
]
|
|
}
|