2023-02-13 18:18:33 +00:00
|
|
|
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',
|
2023-02-13 18:18:33 +00:00
|
|
|
reactStrictMode: true,
|
2023-02-21 09:00:21 +00:00
|
|
|
productionBrowserSourceMaps: true,
|
2023-02-13 18:18:33 +00:00
|
|
|
i18n: {
|
2023-05-08 10:10:16 +00:00
|
|
|
locales: ['de', 'en', 'fr', 'es', 'pl', 'cz'],
|
2023-02-13 18:18:33 +00:00
|
|
|
defaultLocale: 'en',
|
2023-02-19 16:21:36 +00:00
|
|
|
},
|
|
|
|
async rewrites() {
|
|
|
|
return [
|
|
|
|
{
|
|
|
|
source: '/datenschutz',
|
|
|
|
destination: '/privacy-policy',
|
|
|
|
},
|
|
|
|
]
|
2023-02-13 18:18:33 +00:00
|
|
|
}
|
2023-02-13 19:51:49 +00:00
|
|
|
});
|