mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
Split webpack config into 3 files (base, dev, production).
This commit is contained in:
16
tools/webpack.dev.config.js
Normal file
16
tools/webpack.dev.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
var config = require('./webpack.config.js');
|
||||
|
||||
config.entry.push('webpack-dev-server/client?http://0.0.0.0:9991/socket.io');
|
||||
config.devtool = 'eval';
|
||||
config.output.publicPath = 'http://0.0.0.0:9991/webpack/';
|
||||
|
||||
config.devServer = {
|
||||
port: 9994,
|
||||
stats: "errors-only",
|
||||
watchOptions: {
|
||||
aggregateTimeout: 300,
|
||||
poll: 1000,
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
Reference in New Issue
Block a user