Skip to content

Commit

Permalink
build(webpack): disable production source map
Browse files Browse the repository at this point in the history
  • Loading branch information
sabertazimi authored Sep 5, 2021
1 parent 674e123 commit 8e42dfa
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 @@ -65,5 +65,5 @@ module.exports = {
resolve: {
extensions: ['.js', '.jsx']
},
devtool: 'source-map'
devtool: devMode ? 'eval-cheap-module-source-map' : false,
};

0 comments on commit 8e42dfa

Please sign in to comment.