diff --git a/tgui/happydom.ts b/tgui/happydom.ts index 18a7051a49e..e3799b44740 100644 --- a/tgui/happydom.ts +++ b/tgui/happydom.ts @@ -2,4 +2,4 @@ import { GlobalRegistrator } from '@happy-dom/global-registrator'; GlobalRegistrator.register(); -import 'packages/tgui/__mocks__/setup.ts'; +import 'tgui/__mocks__/setup.ts'; diff --git a/tgui/tsconfig.json b/tgui/tsconfig.json index 5ff7f5926b4..bd6c8e1559a 100644 --- a/tgui/tsconfig.json +++ b/tgui/tsconfig.json @@ -2,7 +2,6 @@ "compilerOptions": { "allowJs": true, "allowSyntheticDefaultImports": true, - "baseUrl": ".", "checkJs": false, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, @@ -13,14 +12,14 @@ "moduleResolution": "Bundler", "noEmit": true, "paths": { - "tgui": ["packages/tgui"], - "tgui/*": ["packages/tgui/*"], - "tgui-panel": ["packages/tgui-panel"], - "tgui-panel/*": ["packages/tgui-panel/*"], - "tgui-say": ["packages/tgui-say"], - "tgui-say/*": ["packages/tgui-say/*"], - "tgui-dev-server": ["packages/tgui-dev-server"], - "tgui-dev-server/*": ["packages/tgui-dev-server/*"] + "tgui": ["./packages/tgui"], + "tgui/*": ["./packages/tgui/*"], + "tgui-panel": ["./packages/tgui-panel"], + "tgui-panel/*": ["./packages/tgui-panel/*"], + "tgui-say": ["./packages/tgui-say"], + "tgui-say/*": ["./packages/tgui-say/*"], + "tgui-dev-server": ["./packages/tgui-dev-server"], + "tgui-dev-server/*": ["./packages/tgui-dev-server/*"] }, "resolveJsonModule": true, "skipLibCheck": true,