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: Set ignoreHelpers for handlebars-loader.

Anders Kaseorg7947de5cd188
diff --git a/webpack.config.ts b/webpack.config.ts
index c5ad9882bd5..ef8baa50983 100644
--- a/webpack.config.ts
+++ b/webpack.config.ts
@@ -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",