mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-09 08:23:09 +00:00
## About The Pull Request Swaps moduleResolution to the recommended setting. Should have no averse effects anywhere. Current moduleResolution: "Node" gives this tooltip message: `Node: Deprecated, use "Node10" in TypeScript 5.0+ instead` This PR: moduleResolution: "Bundler" `Bundler: This is the recommended setting in TypeScript 5.0+ for applications that use a bundler` (aka us) More info https://www.typescriptlang.org/tsconfig/#moduleResolution ## Why It's Good For The Game If you're wondering what this PR is even for, I'd like to centralize tg components eventually so we can distribute them as a npm package. This lets me use the aliased imports from that package, so if we do make that change it's one line:  In return we get to delete the entire tgui components folder, their style sheets, the common package, and maybe more. I have tested this using my (future PR) tgui library and it works.
30 lines
594 B
JSON
30 lines
594 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"checkJs": false,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": false,
|
|
"jsx": "preserve",
|
|
"lib": [
|
|
"DOM",
|
|
"DOM.Iterable",
|
|
"ESNext",
|
|
"ScriptHost"
|
|
],
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"noEmit": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"strict": false,
|
|
"strictNullChecks": true,
|
|
"target": "ES5"
|
|
},
|
|
"include": [
|
|
"./*.d.ts",
|
|
"./packages"
|
|
]
|
|
}
|