2023-04-25 11:01:25 +00:00
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
const nextConfig = {
|
|
|
|
reactStrictMode: true,
|
|
|
|
experimental: {
|
|
|
|
scrollRestoration: true,
|
|
|
|
},
|
|
|
|
transpilePackages: ['@tldraw/utils'],
|
2023-06-19 18:48:55 +00:00
|
|
|
async redirects() {
|
|
|
|
return [
|
|
|
|
{
|
|
|
|
source: '/:sectionId/ucg/:articleId',
|
|
|
|
destination: '/:sectionId/:articleId',
|
|
|
|
permanent: true,
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
2023-04-25 11:01:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = nextConfig
|