rsnext/packages/next
JJ Kasper ae3c388039
Add support for rewriting non-fallback SSG pages (#11010)
Since non-fallback pages don't rely on the URL for hydration we can allow them to be rewritten to but pages with fallback still can't be rewritten to because we won't be able to parse the correct `/_next/data` path to request the page's data from. I added a test for this behavior and ensured it works correctly on Now.

Example on with fallback false rewrite on Now:
https://tst-rewrite-cp9vge4bg.now.sh/about
2020-05-29 16:33:09 +00:00
..
bin Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
build Update babel config found log to new logging output (#13550) 2020-05-29 15:08:28 +00:00
cli Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
client Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
compiled Do not throw away tsconfig.json comments (#13458) 2020-05-27 18:46:18 +00:00
export Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
lib Replace fork-ts-checker-webpack-plugin with faster alternative (#13529) 2020-05-29 08:16:22 +00:00
next-server Add support for rewriting non-fallback SSG pages (#11010) 2020-05-29 16:33:09 +00:00
pages Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
server Remove old reloading code (#13554) 2020-05-29 15:55:36 +00:00
telemetry Record presence of reportWebVitals (#13155) 2020-05-20 18:44:39 +00:00
types Replace fork-ts-checker-webpack-plugin with faster alternative (#13529) 2020-05-29 08:16:22 +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 Add missing dependencies to server (#5369) 2018-10-03 00:08:57 +02:00
babel.d.ts Remove re-exports of default when they don't exist (#9450) 2019-11-18 20:11:59 -06:00
babel.js Monorepo (#5341) 2018-10-01 01:02:10 +02:00
client.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
client.js Monorepo (#5341) 2018-10-01 01:02:10 +02:00
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 Add missing dependencies to server (#5369) 2018-10-03 00:08:57 +02:00
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 Add missing dependencies to server (#5369) 2018-10-03 00:08:57 +02:00
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 Bring back module.exports because of backwards compat (#5815) 2018-12-04 15:26:20 +01:00
package.json v9.4.5-canary.3 2020-05-29 17:58:45 +02:00
README.md Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
router.d.ts Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00
router.js Bring back module.exports because of backwards compat (#5815) 2018-12-04 15:26:20 +01:00
taskfile-babel.js Add support for debugging Next.js core (#13101) 2020-05-20 03:18:02 +00:00
taskfile-ncc.js Lint for invalid imports (#13482) 2020-05-28 08:23:10 +00:00
taskfile.js Lint for invalid imports (#13482) 2020-05-28 08:23:10 +00: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 documentation.

Contributing

Please see our contributing.md.

Authors