diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 2a79251381..6d296d51b5 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -6,6 +6,9 @@ import tsconfigPaths from 'vite-tsconfig-paths'; // https://vitejs.dev/config/ export default defineConfig({ + build: { + sourcemap: true + }, plugins: [react(), tsconfigPaths(), svgr()], resolve: { alias: { diff --git a/libs/copilot/tsconfig.json b/libs/copilot/tsconfig.json index 930b4ad89e..05889e4f7d 100644 --- a/libs/copilot/tsconfig.json +++ b/libs/copilot/tsconfig.json @@ -11,6 +11,7 @@ "skipLibCheck": true, "esModuleInterop": false, "allowSyntheticDefaultImports": true, + "sourceMap": true, "strict": true, "strictNullChecks": true, "forceConsistentCasingInFileNames": true, diff --git a/libs/react-client/tsconfig.json b/libs/react-client/tsconfig.json index 162f7cd79b..01319364c7 100644 --- a/libs/react-client/tsconfig.json +++ b/libs/react-client/tsconfig.json @@ -23,7 +23,7 @@ "preserveConstEnums": true, "removeComments": true, "skipLibCheck": true, - "sourceMap": false, + "sourceMap": true, "strictNullChecks": true, "target": "es5", "types": ["node", "react"],