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',
|
2016-12-03 23:18:44 +01:00
|
|
|
'./static/js/src/main.js',
|
2015-10-26 17:11:44 +01:00
|
|
|
],
|
|
|
|
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',
|
2016-12-03 23:18:44 +01:00
|
|
|
filename: 'bundle.js',
|
2015-10-26 17:11:44 +01:00
|
|
|
},
|
|
|
|
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,
|
2016-12-03 23:18:44 +01:00
|
|
|
poll: 1000,
|
|
|
|
},
|
|
|
|
},
|
2015-10-26 17:11:44 +01:00
|
|
|
};
|