Skip to content

Commit

Permalink
Merge pull request #759 from CodeForAfrica/bugfix/roboshield-build
Browse files Browse the repository at this point in the history
@/roboshield Fixed Roboshield failing build
  • Loading branch information
koechkevin authored Jul 8, 2024
2 parents 88e76b8 + a034fa7 commit a58fa18
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit a58fa18

Please sign in to comment.