mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 08:10:44 -05:00
Jesse
a285cd3985
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.
22 lines
581 B
JSON
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/**/*"]
|
|
}
|