first commit
This commit is contained in:
20
bundler/webpack.dev.js
Normal file
20
bundler/webpack.dev.js
Normal file
@@ -0,0 +1,20 @@
|
||||
const commonConfiguration = require('./webpack.common.js');
|
||||
|
||||
module.exports = {
|
||||
...commonConfiguration,
|
||||
mode: 'development',
|
||||
watch: true,
|
||||
watchOptions: {
|
||||
ignored: /node_modules/,
|
||||
aggregateTimeout: 300,
|
||||
poll: 1000,
|
||||
},
|
||||
devServer: {
|
||||
host: '0.0.0.0',
|
||||
static: './dist',
|
||||
liveReload: true,
|
||||
open: true,
|
||||
allowedHosts: 'all',
|
||||
https: false
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user