mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
templates: Use just one webpack entry point per page.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
f245fcf408
commit
fda70a5458
@@ -238,7 +238,9 @@ export default (env?: string): webpack.Configuration[] => {
|
||||
|
||||
if (!production) {
|
||||
// Out JS debugging tools
|
||||
config.entry['common'].push('./static/js/debug.js'); // eslint-disable-line dot-notation
|
||||
for (const name of Object.keys(config.entry)) {
|
||||
config.entry[name].push('./static/js/debug.js');
|
||||
}
|
||||
config.devServer = {
|
||||
clientLogLevel: "error",
|
||||
stats: "errors-only",
|
||||
|
||||
Reference in New Issue
Block a user