Browse Source

Merge pull request #664 from smiclea/source-maps

Add high quality source maps to production builds
Nashwan Azhari 4 years ago
parent
commit
019b3ccf6c
1 changed files with 4 additions and 1 deletions
  1. 4 1
      webpack.prod.js

+ 4 - 1
webpack.prod.js

@@ -1,4 +1,7 @@
 const merge = require('webpack-merge')
 const common = require('./webpack.common')
 
-module.exports = merge(common, { mode: 'production' })
+module.exports = merge(common, {
+  mode: 'production',
+  devtool: 'source-map',
+})