webpack: Enable knownHelpersOnly for handlebars-loader.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-11-15 12:08:23 -08:00 committed by Anders Kaseorg
parent c63b215729
commit e90d1e9985
1 changed files with 4 additions and 1 deletions

View File

@ -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