Sending the source map out of the main JS file to reduce size

This commit is contained in:
David Négrier 2020-07-02 10:18:47 +02:00
parent 2eaba04f35
commit 2b5d3e0017
3 changed files with 17 additions and 2 deletions

7
front/webpack.prod.js Normal file
View file

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