The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore(studio): skip Sentry source map upload for local builds (#44837)
Alaister Youngf1a48f8c50e5
diff --git a/apps/studio/next.config.js b/apps/studio/next.config.jsindex 000ca88984b..7b865278390 100644--- a/apps/studio/next.config.js+++ b/apps/studio/next.config.js@@ -613,9 +613,12 @@ const nextConfig = {// Make sure adding Sentry options is the last code to run before exporting, to// ensure that your source maps include changes from all other Webpack plugins+const platformConfig =+ process.env.NEXT_PUBLIC_IS_PLATFORM === 'true' ? withBundleAnalyzer(nextConfig) : nextConfig+module.exports =- process.env.NEXT_PUBLIC_IS_PLATFORM === 'true'- ? withSentryConfig(withBundleAnalyzer(nextConfig), {+ process.env.NEXT_PUBLIC_IS_PLATFORM === 'true' && process.env.VERCEL === '1'+ ? withSentryConfig(platformConfig, {silent: true,// For all available options, see:@@ -647,4 +650,4 @@ module.exports =applicationKey: 'supabase-studio',},})- : nextConfig+ : platformConfig