Skip to content

Open-source status page, incident response and uptime monitoring

fix: image next config (#1084)

Maximilian Kaske9ec099ae4bbd
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 7c493b75a..0a479f88d 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -1,4 +1,5 @@
const { withContentCollections } = require("@content-collections/next");
+const { withSentryConfig } = require("@sentry/nextjs");
/** @type {import('next').NextConfig} */
const nextConfig = {
@@ -54,12 +55,8 @@ const nextConfig = {
},
};
-// Injected content via Sentry wizard below
-
-const { withSentryConfig } = require("@sentry/nextjs");
-
module.exports = withSentryConfig(
- withContentCollections(nextConfig),
+ async () => await withContentCollections(nextConfig),
{
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options