g6/webpack-dev.config.js

13 lines
233 B
JavaScript
Raw Normal View History

2018-06-05 23:58:10 +08:00
const webpackConfig = require('./webpack.config');
const _ = require('lodash');
module.exports = _.merge({
watch: true,
watchOptions: {
aggregateTimeout: 300,
poll: 1000
}
}, webpackConfig, {
mode: 'development'
});