vegancheck.me/next.config.js

24 lines
471 B
JavaScript
Raw Normal View History

const withPWA = require('next-pwa')({
dest: 'public',
swSrc: 'service-worker.js'
})
/** @type {import('next').NextConfig} */
module.exports = withPWA({
2023-05-31 20:37:01 +00:00
output: 'standalone',
reactStrictMode: true,
2023-02-21 09:00:21 +00:00
productionBrowserSourceMaps: true,
i18n: {
locales: ['de', 'en', 'fr', 'es', 'pl', 'cz'],
defaultLocale: 'en',
},
async rewrites() {
return [
{
source: '/datenschutz',
destination: '/privacy-policy',
},
]
}
2023-02-13 19:51:49 +00:00
});