Skip to content

Commit

Permalink
fix(webpack): better source maps in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp authored May 15, 2024
1 parent a39359d commit feb0fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module.exports = function(env, { /* @if jasmine || mocha*/runTest, /* @endif */a
target: production ? 'node' : 'web',
// @endif
mode: production ? 'production' : 'development',
devtool: production ? undefined : 'eval-cheap-source-map',
devtool: production ? undefined : 'eval-source-map',
optimization: {
minimizer: [
new TerserPlugin({
Expand Down

0 comments on commit feb0fbc

Please sign in to comment.