You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
919 B
31 lines
919 B
{
|
|
"compilerOptions": {
|
|
"rootDir": "./src",
|
|
"outDir": "./dist",
|
|
"baseUrl": "./src",
|
|
"paths": {
|
|
"@/types/*" : ["types/*"],
|
|
"@/utils/*" : ["utils/*"],
|
|
"@/engine/*" : ["engine/*"],
|
|
"@/constants/*" : ["constants/*"],
|
|
"@/adapters/*" : ["adapters/*"],
|
|
"@/svelte/*" : ["adapters/svelte/*"],
|
|
"@/*" : ["*"]
|
|
},
|
|
|
|
// ✅ Opciones CRÍTICAS para usar .ts en imports:
|
|
"allowImportingTsExtensions": true,
|
|
"noEmit": true, // Obligatorio con la opción anterior
|
|
"module": "esnext", // Cambiado de nodenext a esnext
|
|
"moduleResolution": "bundler", // Permite resoluciones modernas tipo Vite/Bun
|
|
|
|
"target": "esnext",
|
|
"strict": true,
|
|
"verbatimModuleSyntax": true,
|
|
"isolatedModules": true,
|
|
"skipLibCheck": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|