Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Improve readability

Manav Rathi07faec7851be
diff --git a/packages/shared/next/next.config.base.js b/packages/shared/next/next.config.base.js
index a560605818..388f5c7ef9 100644
--- a/packages/shared/next/next.config.base.js
+++ b/packages/shared/next/next.config.base.js
@@ -59,6 +59,8 @@ const nextConfig = {
},
};
+const sentryWebpackPluginOptions = {};
+
// withSentryConfig extends the default Next.js usage of webpack to:
//
// 1. Initialize the SDK on client page load (See `sentry.client.config.ts`)
@@ -68,4 +70,4 @@ const nextConfig = {
// Irritatingly, it insists that we also provide it (empty)
// sentry.server.config.ts and sentry.edge.config.ts files too, even though we
// are not using those parts.
-module.exports = withSentryConfig(nextConfig, {});
+module.exports = withSentryConfig(nextConfig, sentryWebpackPluginOptions);