Eduard Kuzmenko
4 years ago
1 changed files with 7 additions and 1 deletions
@ -1,10 +1,16 @@ |
|||||||
process.env.NODE_ENV = 'development'; |
process.env.NODE_ENV = 'development'; |
||||||
|
|
||||||
|
const webpack = require('webpack'); |
||||||
const merge = require('webpack-merge'); |
const merge = require('webpack-merge'); |
||||||
const common = require('./webpack.common.js'); |
const common = require('./webpack.common.js'); |
||||||
|
|
||||||
|
|
||||||
module.exports = merge(common, { |
module.exports = merge(common, { |
||||||
mode: 'development', |
mode: 'development', |
||||||
devtool: 'inline-source-map' |
devtool: 'inline-source-map', |
||||||
|
plugins: [ |
||||||
|
new webpack.optimize.LimitChunkCountPlugin({ |
||||||
|
maxChunks: 1 |
||||||
|
}) |
||||||
|
], |
||||||
}); |
}); |
||||||
|
Loading…
Reference in new issue