zulip/tools/webpack.config.js

21 lines
470 B
JavaScript
Raw Normal View History

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