mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
webpack: Enable knownHelpersOnly for handlebars-loader.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
c63b215729
commit
e90d1e9985
@@ -179,7 +179,10 @@ const config = (
|
|||||||
"tooltip_hotkey_hints",
|
"tooltip_hotkey_hints",
|
||||||
"popover_hotkey_hints",
|
"popover_hotkey_hints",
|
||||||
],
|
],
|
||||||
precompileOptions: {strict: true},
|
precompileOptions: {
|
||||||
|
knownHelpersOnly: true,
|
||||||
|
strict: true,
|
||||||
|
},
|
||||||
preventIndent: true,
|
preventIndent: true,
|
||||||
// This replaces relative image resources with
|
// This replaces relative image resources with
|
||||||
// a computed require() path to them, so their
|
// a computed require() path to them, so their
|
||||||
|
|||||||
Reference in New Issue
Block a user