We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 984dca5 commit ee9e139Copy full SHA for ee9e139
next.config.ts
@@ -10,7 +10,7 @@ const withBundleAnalyzer = bundleAnalyzer({
10
enabled: process.env.ANALYZE === 'true',
11
})
12
13
-let nextConfig: NextConfig = {
+const baseConfig: NextConfig = {
14
poweredByHeader: false,
15
16
webpack(config) {
@@ -27,7 +27,7 @@ let nextConfig: NextConfig = {
27
},
28
};
29
30
-nextConfig = withNextIntl(nextConfig);
31
-nextConfig = withBundleAnalyzer(nextConfig);
+const intlConfig = withNextIntl(baseConfig);
+const analyzerConfig = withBundleAnalyzer(intlConfig);
32
33
-export default nextConfig;
+export default analyzerConfig;
0 commit comments