2015-10-26 17:11:44 +01:00
|
|
|
module.exports = {
|
|
|
|
entry: [
|
2016-07-27 05:19:03 +02:00
|
|
|
'webpack-dev-server/client?http://127.0.0.1:9991/socket.io',
|
2015-10-26 17:11:44 +01:00
|
|
|
'./static/js/src/main.js'
|
|
|
|
],
|
|
|
|
devtool: 'eval',
|
|
|
|
output: {
|
2016-07-27 05:19:03 +02:00
|
|
|
publicPath: 'http://127.0.0.1:9991/webpack/',
|
2015-10-26 17:11:44 +01:00
|
|
|
path: './static/js',
|
|
|
|
filename: 'bundle.js'
|
|
|
|
},
|
|
|
|
devServer: {
|
|
|
|
port: 9994,
|
2015-12-14 07:08:35 +01:00
|
|
|
stats: "errors-only",
|
2015-10-26 17:11:44 +01:00
|
|
|
watchOptions: {
|
|
|
|
aggregateTimeout: 300,
|
|
|
|
poll: 1000
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|