42385f48db
This ensures i81n custom routes are resolving correctly, it also corrects redirects for default locales when `locale: false` is not used, and this also simplifies the resolving for custom routes with i18n in `next-server` adding types for the i18n config. This also adds additional tests to prevent regression and starts leveraging a shared `NextConfig` type to allow us to share types for config values. Fixes: https://github.com/vercel/next.js/issues/19521 Fixes: https://github.com/vercel/next.js/issues/19403 Fixes: https://github.com/vercel/next.js/issues/19302 Fixes: https://github.com/vercel/next.js/issues/19227 |
||
---|---|---|
.. | ||
next-serverless-loader | ||
emit-file-loader.js | ||
error-loader.ts | ||
next-babel-loader.js | ||
next-client-pages-loader.ts | ||
next-data-loader.ts | ||
next-plugin-loader.ts | ||
noop-loader.ts |