vegancheck.me/next.config.js
2023-05-31 22:37:01 +02:00

24 lines
No EOL
471 B
JavaScript

const withPWA = require('next-pwa')({
dest: 'public',
swSrc: 'service-worker.js'
})
/** @type {import('next').NextConfig} */
module.exports = withPWA({
output: 'standalone',
reactStrictMode: true,
productionBrowserSourceMaps: true,
i18n: {
locales: ['de', 'en', 'fr', 'es', 'pl', 'cz'],
defaultLocale: 'en',
},
async rewrites() {
return [
{
source: '/datenschutz',
destination: '/privacy-policy',
},
]
}
});