diff --git a/webpack.config.js b/webpack.config.js index 3b906a770..a61d6a423 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -18,7 +18,7 @@ const smp = new SpeedMeasurePlugin() module.exports = smp.wrap((env, args) => ({ mode: args.mode === 'production' ? 'production' : 'development', entry: './src/main.tsx', - devtool: 'inline-source-map', + devtool: args.mode === 'production' ? false : 'inline-source-map', output: { path: OUTPUT_PATH, filename: '[name].[fullhash].js',