Files
textbee/web/next.config.js
isra el ea1b00ce3f chore: upgrade to next 16 + react 19
- 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>
2026-07-11 01:10:35 +03:00

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;