diff --git a/apps/frontend/next.config.mjs b/apps/frontend/next.config.mjs index e6a6092..40410bf 100644 --- a/apps/frontend/next.config.mjs +++ b/apps/frontend/next.config.mjs @@ -32,24 +32,22 @@ const nextConfig = { }, }; -export default nextConfig; - -// export default withSentryConfig(nextConfig, { -// org: "scoresaber-reloaded", -// project: "frontend", -// sentryUrl: "https://glitchtip.fascinated.cc/", -// silent: !process.env.CI, -// reactComponentAnnotation: { -// enabled: true, -// }, -// tunnelRoute: "/monitoring", -// hideSourceMaps: true, -// disableLogger: true, -// sourcemaps: { -// disable: true, -// }, -// release: { -// create: false, -// finalize: false, -// }, -// }); +export default withSentryConfig(nextConfig, { + org: "scoresaber-reloaded", + project: "frontend", + sentryUrl: "https://glitchtip.fascinated.cc/", + silent: !process.env.CI, + reactComponentAnnotation: { + enabled: true, + }, + tunnelRoute: "/monitoring", + hideSourceMaps: true, + disableLogger: true, + sourcemaps: { + disable: true, + }, + release: { + create: false, + finalize: false, + }, +}); diff --git a/apps/frontend/tsconfig.json b/apps/frontend/tsconfig.json index 728e860..dfb5896 100644 --- a/apps/frontend/tsconfig.json +++ b/apps/frontend/tsconfig.json @@ -30,7 +30,9 @@ "./src/*" ] }, - "target": "ES2022" + "target": "ES2022", + "rootDir": "./src/", + "outDir": "./out/" }, "include": [ "next-env.d.ts",