zulip/webpack.config.js

20 lines
435 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,
watchOptions: {
aggregateTimeout: 300,
poll: 1000
}
}
};