rsnext/packages/next
JJ Kasper 546c6512bd
Correct /_next/data link for GS(S)P with basePath (#14376)
This corrects the `/_next/data` path generated when using `basePath` with `getStaticProps` in a `pages/index.js` file which was previously stripping the `basePath` without checking if `/index` needed to be appended after stripping. This also adds additional checks to the `basePath` test suite to prevent regressing   

x-ref: https://github.com/vercel/next.js/pull/9872#issuecomment-646841260
2020-06-19 21:53:15 +00:00
..
bin Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
build De-experimentalize basePath config (#14283) 2020-06-18 10:10:20 +00:00
cli Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
client docs: update links to docs site (#14305) 2020-06-18 09:54:07 +00:00
compiled Get rid of autodll (#13669) 2020-06-02 19:20:37 +00:00
export De-experimentalize basePath config (#14283) 2020-06-18 10:10:20 +00:00
lib Render a helpful message for null GS(S)P return (#14252) 2020-06-17 09:25:27 +00:00
next-server Correct /_next/data link for GS(S)P with basePath (#14376) 2020-06-19 21:53:15 +00:00
pages Prioritize webpack bootstrapping first (#13987) 2020-06-10 04:41:59 +00:00
server use requirePage for /_document and /_app (#14176) 2020-06-15 10:41:17 -04:00
telemetry Record presence of reportWebVitals (#13155) 2020-05-20 18:44:39 +00:00
types Clean up AMP bundle removal (#14130) 2020-06-14 12:49:46 +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.4.5-canary.13 2020-06-17 09:37:56 -04: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
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 Make sure to watch all next-server files (#14023) 2020-06-10 11:27:37 -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 documentation.

Contributing

Please see our contributing.md.

Authors