19 lines
359 B
JavaScript
19 lines
359 B
JavaScript
const withBundleAnalyzer = require("@next/bundle-analyzer")({
|
|
enabled: process.env.ANALYZE === "true",
|
|
});
|
|
module.exports = withBundleAnalyzer({
|
|
// your Next.js configuration
|
|
async headers() {
|
|
return [
|
|
{
|
|
source: "/sitemap.xml.gz",
|
|
headers: [
|
|
{
|
|
key: "Content-Type",
|
|
value: "application/gzip",
|
|
},
|
|
],
|
|
},
|
|
];
|
|
},
|
|
});
|