From 23dd4e210aca9c5175e92436c5fcc5ab55bc58a2 Mon Sep 17 00:00:00 2001 From: Gerard Clos Date: Sun, 1 Sep 2024 14:57:42 +0200 Subject: [PATCH] minor: added explanatory comment --- apps/web/next.config.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs index 14a9e7a33..a55736764 100644 --- a/apps/web/next.config.mjs +++ b/apps/web/next.config.mjs @@ -11,6 +11,11 @@ const nextConfig = { output: 'standalone', transpilePackages: INTERNAL_PACKAGES, experimental: { + // Dear developer, + // + // Unfortunately, our jobs packages uses some meta programming that relies + // on the name of job handler functions for things to work properly. As you + // can imagine, minification would break this. So we have to disable it. serverMinification: false, }, }