rsnext/packages/next/build/webpack/loaders
JJ Kasper d1036539d6
Ensure params and locale are parsed correctly in fallback mode (#19063)
This fixes a few things related to optional catch-all routes and i18n. The first thing is it ensures the correct data route is generated on the client so that the locale isn't duplicated for an optional catch-all route, the next is it ensures the browser history is updated correctly when only a locale change is occurring, and then it also ensures we handle the locales and normalizing for fallback optional catch-all pages correctly.

Tests have been added to ensure these cases are covered properly and we don't regress on them, these changes were also tested on Vercel [here](https://next-js-bug-i18n-root-params-nybg44l0b.vercel.app/)

Fixes: https://github.com/vercel/next.js/issues/18633 
Fixes: https://github.com/vercel/next.js/issues/19059
2020-11-11 20:33:44 +00:00
..
emit-file-loader.js Added no-shadow rule to eslint (#13645) 2020-06-01 21:00:22 +00:00
error-loader.ts ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
next-babel-loader.js ncc 0.25.0 upgrade and fixes (#18873) 2020-11-06 02:33:14 +00:00
next-client-pages-loader.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
next-data-loader.ts Remove unused variable (#13716) 2020-06-03 11:58:58 -04:00
next-plugin-loader.ts Remove unused variable (#13716) 2020-06-03 11:58:58 -04:00
next-serverless-loader.ts Ensure params and locale are parsed correctly in fallback mode (#19063) 2020-11-11 20:33:44 +00:00
noop-loader.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00