mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-30 17:26:24 +02:00
🔨 Make Sentry last to run
This commit is contained in:
parent
e3aacbe668
commit
09cb7af93b
1 changed files with 3 additions and 2 deletions
|
@ -10,6 +10,7 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
|
output: "standalone",
|
||||||
productionBrowserSourceMaps: true,
|
productionBrowserSourceMaps: true,
|
||||||
transpilePackages: [
|
transpilePackages: [
|
||||||
"@rallly/backend",
|
"@rallly/backend",
|
||||||
|
@ -71,6 +72,6 @@ const sentryWebpackPluginOptions = {
|
||||||
|
|
||||||
// Make sure adding Sentry options is the last code to run before exporting, to
|
// 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
|
// ensure that your source maps include changes from all other Webpack plugins
|
||||||
module.exports = withBundleAnalyzer(
|
module.exports = withSentryConfig(
|
||||||
withSentryConfig(nextConfig, sentryWebpackPluginOptions),
|
withBundleAnalyzer(nextConfig, sentryWebpackPluginOptions),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue