Sending the source map out of the main JS file to reduce size
This commit is contained in:
parent
2eaba04f35
commit
2b5d3e0017
3 changed files with 17 additions and 2 deletions
7
front/webpack.prod.js
Normal file
7
front/webpack.prod.js
Normal 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'
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue