From cfc820503ffec76b9532d9b9cd35587dc1bc0202 Mon Sep 17 00:00:00 2001 From: walidkayhan Date: Fri, 13 Oct 2023 15:30:23 -0400 Subject: [PATCH] Reverted devtool back to cheap-module-source-map --- webpack.config.app.production.js | 2 +- webpack.config.server.production.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.app.production.js b/webpack.config.app.production.js index d17988ddc..137aa2a9c 100644 --- a/webpack.config.app.production.js +++ b/webpack.config.app.production.js @@ -42,7 +42,7 @@ module.exports = { cache: true, target: 'web', context: path.resolve(__dirname, 'src/app'), - devtool: 'source-map', + devtool: 'cheap-module-source-map', entry: { polyfill: [ path.resolve(__dirname, 'src/app/polyfill/index.js') diff --git a/webpack.config.server.production.js b/webpack.config.server.production.js index 0a334ad5d..b2bc9dfae 100644 --- a/webpack.config.server.production.js +++ b/webpack.config.server.production.js @@ -30,7 +30,7 @@ const buildVersion = pkg.version; module.exports = { mode: 'production', - devtool: 'source-map', + devtool: 'cheap-module-source-map', target: 'node', // ignore built-in modules like path, fs, etc. context: path.resolve(__dirname, 'src/server'), entry: {