Manav Rathi 1 год назад
Родитель
Сommit
07faec7851
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      packages/shared/next/next.config.base.js

+ 3 - 1
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:
 // withSentryConfig extends the default Next.js usage of webpack to:
 //
 //
 // 1. Initialize the SDK on client page load (See `sentry.client.config.ts`)
 // 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)
 // Irritatingly, it insists that we also provide it (empty)
 // sentry.server.config.ts and sentry.edge.config.ts files too, even though we
 // sentry.server.config.ts and sentry.edge.config.ts files too, even though we
 // are not using those parts.
 // are not using those parts.
-module.exports = withSentryConfig(nextConfig, {});
+module.exports = withSentryConfig(nextConfig, sentryWebpackPluginOptions);