From 829cb2e3da66aa2993deb85c088ae70e37397a38 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Mon, 20 Dec 2021 06:19:23 +0000 Subject: [PATCH] Disabled source map in prod --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index db639ba..6d36c8d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -19,7 +19,7 @@ module.exports = ({ production, analyze }) => { filename: '[name].[chunkhash].js', sourceMapFilename: '[name].[chunkhash].js.map' }, - devtool: production ? 'source-map' : 'eval-source-map', + devtool: production ? false : 'eval-source-map', resolve: { extensions: ['.js', '.jsx'] },