My current configuration settings are as follows:
module.exports = {
images: {
domains: [
"ticket-t01.s3.eu-central-1.amazonaws.com",
"media.istockphoto.com",
],
deviceSizes: [320, 375, 450, 540, 640, 750, 828, 1080, 1200, 1920],
},
reactStrictMode: true,
poweredByHeader: false,
async redirects() {
return [
{
source: "/",
destination: "/hu",
permanent: true,
},
];
},
};
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true",
});
module.exports = withBundleAnalyzer({});
It seems that the first module.exports
is not being considered. How can I merge them effectively?