diff --git a/apps/dashboard/next.config.mjs b/apps/dashboard/next.config.mjs index 1460af495..1f7a798f9 100644 --- a/apps/dashboard/next.config.mjs +++ b/apps/dashboard/next.config.mjs @@ -70,8 +70,9 @@ const nextConfig = { pageExtensions: ["js", "jsx", "mdx", "ts", "tsx"], - // we're open-source, so we can provide source maps - productionBrowserSourceMaps: true, + // we're open-source, so we can provide source maps — but skip them for + // RDE standalone builds where they just take up space for no reason + productionBrowserSourceMaps: process.env.NEXT_CONFIG_OUTPUT !== "standalone", poweredByHeader: false,