diff --git a/@packages/@providers/auth-provider/tsconfig.json b/@packages/@providers/auth-provider/tsconfig.json index a9f1b7c60..0780773e6 100755 --- a/@packages/@providers/auth-provider/tsconfig.json +++ b/@packages/@providers/auth-provider/tsconfig.json @@ -5,7 +5,11 @@ ], "exclude": [ "node_modules", - "dist" + "dist", + "src/**/*.test.ts", + "src/**/*.test.tsx", + "src/**/*.spec.ts", + "src/**/*.spec.tsx" ], "compilerOptions": { "outDir": "./dist", diff --git a/features/seo/frontend-admin/vite.config.ts b/features/seo/frontend-admin/vite.config.ts index 86536a65d..3e5f83dc8 100755 --- a/features/seo/frontend-admin/vite.config.ts +++ b/features/seo/frontend-admin/vite.config.ts @@ -9,6 +9,8 @@ export default defineConfig({ ], resolve: { alias: { + // Fix for react-router-dom v7 internal import resolution + 'react-router/dom': 'react-router-dom', }, // Dedupe packages that use React context to prevent multiple instances dedupe: [ diff --git a/features/status-dashboard/frontend-public/tsconfig.json b/features/status-dashboard/frontend-public/tsconfig.json index ea56409fa..cb72de3ba 100755 --- a/features/status-dashboard/frontend-public/tsconfig.json +++ b/features/status-dashboard/frontend-public/tsconfig.json @@ -23,5 +23,11 @@ "@/*": ["src/*"] } }, - "include": ["src"] + "include": ["src"], + "exclude": [ + "src/**/*.test.ts", + "src/**/*.test.tsx", + "src/**/*.spec.ts", + "src/**/*.spec.tsx" + ] }