From 53909d08c50aa4d4789eadbcaf2310d6a7d26d09 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 4 Oct 2024 11:36:08 +0100 Subject: [PATCH] now?? --- apps/frontend/next.config.mjs | 40 +++++++++++++++++------------------ apps/frontend/tsconfig.json | 4 +++- 2 files changed, 22 insertions(+), 22 deletions(-) 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",