vegancheck.me/next.config.js
2024-04-20 21:36:04 +02:00

28 lines
557 B
JavaScript

const million = require("million/compiler");
/** @type {import('next').NextConfig} */
let nextConfig = {
output: "standalone",
reactStrictMode: true,
productionBrowserSourceMaps: true,
i18n: {
locales: ["de", "en", "fr", "es", "pl", "cz"],
defaultLocale: "en",
},
async rewrites() {
return [
{
source: "/datenschutz",
destination: "/privacy-policy",
},
];
},
};
const millionConfig = {
auto: { rsc: true },
};
nextConfig = million.next(nextConfig, millionConfig);
module.exports = nextConfig;