0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00
server/project/tsconfig.json
Jesse a285cd3985
Mod fixes (#1080)
Changes the following:

- New targets, module and moduleResolution for mods
- Enables `isolatedModules` as this matches the SPT server.
- Includes user/mods in tsconfig.json to allow for mods to be loaded
when a debugger is attached.
2025-01-14 12:10:31 +00:00

22 lines
581 B
JSON

{
"compilerOptions": {
"strict": true,
"moduleDetection": "force",
"target": "ESNext",
"module": "Preserve",
"resolveJsonModule": true,
"allowJs": true,
"esModuleInterop": true,
"isolatedModules": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"verbatimModuleSyntax": false,
"baseUrl": ".",
"paths": {
"@spt/*": ["./src/*"],
"@tests/*": ["./tests/*"]
}
},
"include": ["src/*", "src/**/*", "./user/mods/**/*"]
}