diff --git a/apps/roboshield/next.config.mjs b/apps/roboshield/next.config.js similarity index 94% rename from apps/roboshield/next.config.mjs rename to apps/roboshield/next.config.js index 1b520b07c..0abbfb651 100644 --- a/apps/roboshield/next.config.mjs +++ b/apps/roboshield/next.config.js @@ -1,5 +1,5 @@ -import { withSentryConfig } from "@sentry/nextjs"; -import path from "path"; +const { withSentryConfig } = require("@sentry/nextjs"); +const path = require("path"); const PROJECT_ROOT = process.env.PROJECT_ROOT?.trim(); const outputFileTracingRoot = PROJECT_ROOT @@ -41,7 +41,7 @@ const nextConfig = { }, }; -export default withSentryConfig(nextConfig, { +module.exports = withSentryConfig(nextConfig, { // For all available options, see: // https://github.com/getsentry/sentry-webpack-plugin#options