mirror of
https://github.com/formbricks/formbricks.git
synced 2026-03-17 16:31:34 -05:00
chore: make productionBrowserSourceMaps conditional to decrease build time (#7400)
This commit is contained in:
committed by
GitHub
parent
2740cd16b9
commit
ffcc101ed9
@@ -14,7 +14,8 @@ const nextConfig = {
|
||||
basePath: process.env.BASE_PATH || undefined,
|
||||
output: "standalone",
|
||||
poweredByHeader: false,
|
||||
productionBrowserSourceMaps: true,
|
||||
// Enable source maps only when uploading to Sentry (CI/production); skip for faster local builds
|
||||
productionBrowserSourceMaps: !!process.env.SENTRY_AUTH_TOKEN,
|
||||
serverExternalPackages: [
|
||||
"@aws-sdk",
|
||||
"@opentelemetry/api",
|
||||
|
||||
Reference in New Issue
Block a user