zulip/tools/webpack.config.js

21 lines
465 B
JavaScript
Raw Normal View History

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