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: Enable knownHelpersOnly for handlebars-loader.

Anders Kaseorge90d1e99855f
diff --git a/web/webpack.config.ts b/web/webpack.config.ts
index 2b6c8f67ce8..1ed4401fdde 100644
--- a/web/webpack.config.ts
+++ b/web/webpack.config.ts
@@ -179,7 +179,10 @@ const config = (
"tooltip_hotkey_hints",
"popover_hotkey_hints",
],
- precompileOptions: {strict: true},
+ precompileOptions: {
+ knownHelpersOnly: true,
+ strict: true,
+ },
preventIndent: true,
// This replaces relative image resources with
// a computed require() path to them, so their