2018-10-23 19:32:42 +08:00
|
|
|
const webpackConfig = require('./webpack.config');
|
|
|
|
const _ = require('lodash');
|
|
|
|
|
2019-03-01 10:43:36 +08:00
|
|
|
module.exports = _.merge(
|
|
|
|
{
|
|
|
|
mode: 'development',
|
|
|
|
watch: true,
|
|
|
|
watchOptions: {
|
|
|
|
aggregateTimeout: 300,
|
|
|
|
poll: 1000
|
|
|
|
}
|
|
|
|
},
|
|
|
|
webpackConfig
|
|
|
|
);
|