webpack-config: build source-map in production mode

master
Will Roberts 8 years ago
parent 83ae3ebfab
commit 2286b842d2
  1. 2
      {{cookiecutter.app_name}}/webpack.config.js

@ -34,7 +34,7 @@ module.exports = {
resolve: {
extensions: ['.js', '.jsx', '.css']
},
devtool: debug ? '#inline-sourcemap' : false,
devtool: debug ? 'inline-sourcemap' : 'source-map',
devServer: {
headers: { 'Access-Control-Allow-Origin': '*' }
},

Loading…
Cancel
Save