mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-31 09:46:26 +02:00
✨ Update admin layout and pages (#976)
This commit is contained in:
parent
0ba7e9ce91
commit
a1bac0c986
81 changed files with 2053 additions and 1260 deletions
|
@ -52,13 +52,12 @@ const nextConfig = {
|
|||
},
|
||||
];
|
||||
},
|
||||
sentry: {
|
||||
hideSourceMaps: false,
|
||||
},
|
||||
};
|
||||
|
||||
const sentryWebpackPluginOptions = {
|
||||
// Additional config options for the Sentry Webpack plugin. Keep in mind that
|
||||
org: "stack-snap",
|
||||
project: "rallly",
|
||||
// Additional config ocptions for the Sentry Webpack plugin. Keep in mind that
|
||||
// the following options are set automatically, and overriding them is not
|
||||
// recommended:
|
||||
// release, url, org, project, authToken, configFile, stripPrefix,
|
||||
|
@ -70,8 +69,9 @@ const sentryWebpackPluginOptions = {
|
|||
// https://github.com/getsentry/sentry-webpack-plugin#options.
|
||||
};
|
||||
|
||||
const withBundleAnalyzerConfig = withBundleAnalyzer(nextConfig);
|
||||
// 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 = withSentryConfig(
|
||||
withBundleAnalyzer(nextConfig, sentryWebpackPluginOptions),
|
||||
);
|
||||
module.exports = process.env.SENTRY_AUTH_TOKEN
|
||||
? withSentryConfig(withBundleAnalyzerConfig, sentryWebpackPluginOptions)
|
||||
: withBundleAnalyzerConfig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue