Skip to content

Commit ee9e139

Browse files
author
Kerem Sirin
committed
refactor: add specific constant names
1 parent 984dca5 commit ee9e139

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

next.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const withBundleAnalyzer = bundleAnalyzer({
1010
enabled: process.env.ANALYZE === 'true',
1111
})
1212

13-
let nextConfig: NextConfig = {
13+
const baseConfig: NextConfig = {
1414
poweredByHeader: false,
1515

1616
webpack(config) {
@@ -27,7 +27,7 @@ let nextConfig: NextConfig = {
2727
},
2828
};
2929

30-
nextConfig = withNextIntl(nextConfig);
31-
nextConfig = withBundleAnalyzer(nextConfig);
30+
const intlConfig = withNextIntl(baseConfig);
31+
const analyzerConfig = withBundleAnalyzer(intlConfig);
3232

33-
export default nextConfig;
33+
export default analyzerConfig;

0 commit comments

Comments
 (0)