mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 00:18:12 +00:00
Add webpack build process.
This commit is contained in:
19
webpack.config.js
Normal file
19
webpack.config.js
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user