rsnext/packages/next
JJ Kasper 854a84937c
Fix a couple i18n cases (#17805)
While working on https://github.com/vercel/next.js/pull/17755 noticed a couple of cases that needed fixing and broke them out to this PR to make that one easier to review. One fix is for `ssgCacheKey` where it wasn't having the `locale` prefix stripped correctly due to the locales no longer being populated under the server instances `renderOpts` and the second fix is for the `asPath` not being set to `/` when the `locale` is the only part in the URL e.g. `/en` became an empty string `""`

x-ref: https://github.com/vercel/next.js/pull/17370
2020-10-12 10:05:47 +00:00
..
bin Correct comment on --help (#16391) 2020-08-20 13:32:55 +00:00
build Make sure locale detecting is case-insensitive (#17757) 2020-10-11 20:40:47 +00:00
cli Warn on duplicate Sass deps (#16398) 2020-08-20 16:05:29 +00:00
client Fix a couple i18n cases (#17805) 2020-10-12 10:05:47 +00:00
compiled Expose dotenv loading under separate package (#17152) 2020-09-25 13:14:28 -05:00
export Update to generate auto static pages with all locales (#17730) 2020-10-09 09:13:05 +00:00
lib Expose dotenv loading under separate package (#17152) 2020-09-25 13:14:28 -05:00
next-server Fix a couple i18n cases (#17805) 2020-10-12 10:05:47 +00:00
pages Add initial changes for i18n support (#17370) 2020-10-07 21:11:01 +00:00
server Add initial changes for i18n support (#17370) 2020-10-07 21:11:01 +00:00
telemetry Record presence of reportWebVitals (#13155) 2020-05-20 18:44:39 +00:00
types Add initial changes for i18n support (#17370) 2020-10-07 21:11:01 +00:00
amp.d.ts Remove re-exports of default when they don't exist (#9450) 2019-11-18 20:11:59 -06:00
amp.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
app.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
app.js
babel.d.ts Remove re-exports of default when they don't exist (#9450) 2019-11-18 20:11:59 -06:00
babel.js
client.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
client.js
config.d.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
config.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
constants.d.ts Remove default export from constants.d.ts (#8979) 2019-10-07 14:30:07 +02:00
constants.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
data.d.ts Remove re-exports of default when they don't exist (#9450) 2019-11-18 20:11:59 -06:00
data.js amp-bind data injection (#6840) 2019-04-02 16:09:34 +02:00
document.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
document.js
dynamic.d.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
dynamic.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
error.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
error.js
head.d.ts Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
head.js Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00
license.md Update year on license files 2020-04-21 12:24:08 +02:00
link.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
link.js
package.json v9.5.5 2020-10-09 19:19:45 -05:00
README.md Improve Vercel's badge (#15946) 2020-08-06 12:35:36 -04:00
router.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
router.js
taskfile-babel.js Prefer builtin optional chaining and nullish coalescing (#16780) 2020-09-11 15:20:10 +00:00
taskfile-ncc.js Fix some webpack 5 deprecation warnings (#15797) 2020-08-03 12:57:17 +00:00
taskfile.js Expose dotenv loading under separate package (#17152) 2020-09-25 13:14:28 -05:00
tsconfig.json Move next-server back into next package (#8613) 2019-09-04 10:00:54 -04:00

Next.js

Getting Started

Visit https://nextjs.org/learn to get started with Next.js.

Documentation

Visit https://nextjs.org/docs to view the full documentation.

Who is using Next.js?

Next.js is used by the world's leading companies. Check out the Next.js Showcase to learn more.

Contributing

Please see our contributing.md.

Authors