mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
webpack: Set ignoreHelpers for handlebars-loader.
We don’t use the helper reference feature of handlebars-loader, so we might as well not pay for it. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
71edbd47d5
commit
7947de5cd1
@@ -135,6 +135,7 @@ export default (_env: unknown, argv: {mode?: string}): webpack.Configuration[] =
|
||||
{
|
||||
loader: "handlebars-loader",
|
||||
options: {
|
||||
ignoreHelpers: true,
|
||||
// Tell webpack not to explicitly require these.
|
||||
knownHelpers: [
|
||||
"if",
|
||||
|
Reference in New Issue
Block a user