Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

webpack: Fix knownHelpers list for handlebars-loader.

Anders Kaseorgc63b215729b7
diff --git a/web/webpack.config.ts b/web/webpack.config.ts
index c56a50ea994..2b6c8f67ce8 100644
--- a/web/webpack.config.ts
+++ b/web/webpack.config.ts
@@ -167,12 +167,7 @@ const config = (
ignoreHelpers: true,
// Tell webpack not to explicitly require these.
knownHelpers: [
- "if",
- "unless",
- "each",
- "with",
// The ones below are defined in web/src/templates.js
- "plural",
"eq",
"and",
"or",
@@ -180,6 +175,7 @@ const config = (
"t",
"tr",
"rendered_markdown",
+ "numberFormat",
"tooltip_hotkey_hints",
"popover_hotkey_hints",
],