mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-03 16:38:34 +02:00
Update major dependencies (#408)
This commit is contained in:
parent
6332d6459f
commit
e845d36c51
30 changed files with 1294 additions and 775 deletions
|
@ -9,15 +9,13 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({
|
|||
enabled: process.env.ANALYZE === "true",
|
||||
});
|
||||
|
||||
const moduleExports = {
|
||||
future: {
|
||||
webpack5: false,
|
||||
},
|
||||
const nextConfig = {
|
||||
i18n: i18n,
|
||||
productionBrowserSourceMaps: true,
|
||||
webpack(config) {
|
||||
config.module.rules.push({
|
||||
test: /\.svg$/,
|
||||
issuer: /\.[jt]sx?$/,
|
||||
use: ["@svgr/webpack"],
|
||||
});
|
||||
|
||||
|
@ -56,6 +54,9 @@ const moduleExports = {
|
|||
},
|
||||
];
|
||||
},
|
||||
sentry: {
|
||||
hideSourceMaps: false,
|
||||
},
|
||||
};
|
||||
|
||||
const sentryWebpackPluginOptions = {
|
||||
|
@ -73,5 +74,5 @@ 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(moduleExports, sentryWebpackPluginOptions),
|
||||
withSentryConfig(nextConfig, sentryWebpackPluginOptions),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue