Files
zulip/tools/webpack.config.js
Tim Abbott c2bed83a84 run-dev: Hardcode 127.0.0.1 rather than localhost.
Using "localhost" is problematic in Travis CI, where they have
/etc/hosts configured to make `localhost` resolve to both 127.0.0.1
and ::1.
2016-07-27 11:39:12 -07:00

21 lines
465 B
JavaScript

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