Ignore chunks on dev
This commit is contained in:
parent
3763ef768e
commit
0b18ea4549
@ -1,10 +1,16 @@
|
||||
process.env.NODE_ENV = 'development';
|
||||
|
||||
const webpack = require('webpack');
|
||||
const merge = require('webpack-merge');
|
||||
const common = require('./webpack.common.js');
|
||||
|
||||
|
||||
module.exports = merge(common, {
|
||||
mode: 'development',
|
||||
devtool: 'inline-source-map'
|
||||
devtool: 'inline-source-map',
|
||||
plugins: [
|
||||
new webpack.optimize.LimitChunkCountPlugin({
|
||||
maxChunks: 1
|
||||
})
|
||||
],
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user