rsnext/packages/next/build/webpack
JJ Kasper 8be3562c48
Ensure correct default locale is detected for domain locale (#18046)
This makes sure that we detect the correct default locale for domain specific locales since a domain can have a different default locale residing at the root and we need to check this on the client for prerendered/auto-static pages. This also makes sure we disable the built-in redirect handling when on Vercel since it's handled already. 

Tests for this are tricky since we need to load the browser with a custom domain which requires editing the host file. Existing tests should ensure this doesn't break non-domain specific locale behavior though. This was also tested manually while testing https://github.com/vercel/vercel/pull/5298



x-ref: https://github.com/vercel/next.js/pull/17370
2020-10-20 10:23:11 +00:00
..
config Update to postcss-loader 4.0.2. (#17458) 2020-10-19 17:07:59 +02:00
loaders Ensure correct default locale is detected for domain locale (#18046) 2020-10-20 10:23:11 +00:00
plugins Font optimization for webpack 5 (#17450) 2020-10-12 20:58:09 +02:00