Skip to content

Commit

Permalink
Disabled source map in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratstail91 committed Dec 20, 2021
1 parent 29f0dbb commit 829cb2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']
},
Expand Down

0 comments on commit 829cb2e

Please sign in to comment.