From 09cb7af93b9531c744972573933fbdfca599830e Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Wed, 8 Nov 2023 16:44:45 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Make=20Sentry=20last=20to=20run?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/next.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/web/next.config.js b/apps/web/next.config.js index 02cedd428..557dcbf44 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -10,6 +10,7 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({ /** @type {import('next').NextConfig} */ const nextConfig = { + output: "standalone", productionBrowserSourceMaps: true, transpilePackages: [ "@rallly/backend", @@ -71,6 +72,6 @@ const sentryWebpackPluginOptions = { // Make sure adding Sentry options is the last code to run before exporting, to // ensure that your source maps include changes from all other Webpack plugins -module.exports = withBundleAnalyzer( - withSentryConfig(nextConfig, sentryWebpackPluginOptions), +module.exports = withSentryConfig( + withBundleAnalyzer(nextConfig, sentryWebpackPluginOptions), );