Browse Source

Ignore chunks on dev

master
Eduard Kuzmenko 4 years ago
parent
commit
0b18ea4549
  1. 8
      webpack.dev.js

8
webpack.dev.js

@ -1,10 +1,16 @@ @@ -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…
Cancel
Save