diff --git a/compendium-frontend/webpack.config.ts b/compendium-frontend/webpack.config.ts index 0a9f0691dc20f0ff1d8694fd97b0af1cb276c038..bc852cb545aa731c68a83b79e6c23be8fbb42c25 100644 --- a/compendium-frontend/webpack.config.ts +++ b/compendium-frontend/webpack.config.ts @@ -66,6 +66,7 @@ const config: Configuration = { "/survey/*": "http://127.0.0.1:4001" }, }, + devtool: process.env.NODE_ENV === "production" ? undefined : "inline-source-map", plugins: [ new ForkTsCheckerWebpackPlugin({ async: false, diff --git a/survey-frontend/webpack.config.ts b/survey-frontend/webpack.config.ts index 96951f64685032f6cfabfbd517d031e84740e0d9..2f05e7377bb4263c9a0d9f3fbd931e5602b4db39 100644 --- a/survey-frontend/webpack.config.ts +++ b/survey-frontend/webpack.config.ts @@ -70,6 +70,7 @@ const config: Configuration = { "/authorize": "http://127.0.0.1:5000", }, }, + devtool: process.env.NODE_ENV === "production" ? undefined : "inline-source-map", plugins: [ new ForkTsCheckerWebpackPlugin({ async: false,