mirror of
https://github.com/frontendnetwork/vegancheck.me
synced 2024-11-10 06:24:13 +00:00
23 lines
No EOL
447 B
JavaScript
23 lines
No EOL
447 B
JavaScript
const withPWA = require('next-pwa')({
|
|
dest: 'public',
|
|
swSrc: 'service-worker.js'
|
|
})
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
module.exports = withPWA({
|
|
reactStrictMode: true,
|
|
productionBrowserSourceMaps: true,
|
|
i18n: {
|
|
locales: ['de', 'en', 'fr', 'es', 'pl', 'cz'],
|
|
defaultLocale: 'en',
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/datenschutz',
|
|
destination: '/privacy-policy',
|
|
},
|
|
]
|
|
}
|
|
}); |