rsnext/packages/next/build
JJ Kasper bbc1a21c74
Update to have default locale matched on root (#17669)
Follow-up PR to https://github.com/vercel/next.js/pull/17370 when the path is not prefixed with a locale and the default locale is the detected locale it doesn't redirect to locale prefixed variant. If the default locale path is visited and the default locale is visited this also redirects to the root removing the un-necessary locale in the URL. 

This also exposes the `defaultLocale` on the router since the RFC mentions `Setting a defaultLocale is required in every i18n library so it'd be useful for Next.js to provide it to the application.` although doesn't explicitly spec where we want to expose it. If we want to expose it differently this can be updated.
2020-10-08 11:12:17 +00:00
..
babel Ensure optional-chaining/nullish coalescing is included (#17429) 2020-09-28 16:47:05 -07:00
output [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02:00
plugins Clean up plugins (#14676) 2020-06-29 14:26:49 +00:00
polyfills Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
profiler Added no-shadow rule to eslint (#13645) 2020-06-01 21:00:22 +00:00
webpack Update to have default locale matched on root (#17669) 2020-10-08 11:12:17 +00:00
compiler.ts Prepare for webpack 5 upgrade (#14268) 2020-06-17 15:00:29 +00:00
entries.ts Add initial changes for i18n support (#17370) 2020-10-07 21:11:01 +00:00
generate-build-id.ts Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
index.ts Add initial changes for i18n support (#17370) 2020-10-07 21:11:01 +00:00
is-writeable.ts Use fs.promises instead of promisify (#12026) 2020-05-02 00:10:19 -04:00
spinner.ts [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02:00
utils.ts Add initial changes for i18n support (#17370) 2020-10-07 21:11:01 +00:00
webpack-config.ts Add initial changes for i18n support (#17370) 2020-10-07 21:11:01 +00:00
write-build-id.ts Use fs.promises instead of promisify (#12026) 2020-05-02 00:10:19 -04:00