mirror of
https://github.com/vernu/textbee.git
synced 2026-07-30 17:07:46 -04:00
- next 14.2 -> 16.2, react/react-dom 18 -> 19, eslint 8 -> 9, typescript-eslint 6 -> 8, typescript 5.3 -> 5.7, @types/react* -> 19 - remove i18n config from next.config.js (unsupported in App Router; it forced a pages-router _document and broke the 404 prerender) - Next 16 reconfigured tsconfig (moduleResolution bundler, jsx react-jsx) Build, unit tests, and e2e all green on the new stack. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
25 lines
408 B
JavaScript
25 lines
408 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
output: 'standalone',
|
|
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: '/',
|
|
destination: '/dashboard',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/android',
|
|
destination: 'https://dl.textbee.dev',
|
|
permanent: false,
|
|
},
|
|
]
|
|
},
|
|
}
|
|
|
|
|
|
|
|
module.exports = nextConfig;
|