How do I access previous versions documentation (eg v13)
Answered
Polar bear posted this in #help-forum
Polar bearOP
I can only see documentation for the latest release and every tag for v13 I visit on github is broken.
none of the answers here work:
https://github.com/vercel/next.js/discussions/17548
none of the answers here work:
https://github.com/vercel/next.js/discussions/17548
Answered by riský
however, this is the file for v13.5.6 (the latest v13 release): https://github.com/vercel/next.js/blob/v13.5.6/docs/02-app/02-api-reference/05-next-config-js/index.mdx
6 Replies
you can look at the markdown files on github and use their version history for older version
Polar bearOP
https://github.com/vercel/next.js/commits/canary/docs/02-app/02-api-reference/05-next-config-js/index.mdx
how do i know which one is v13?
how do i know which one is v13?
can i ask why you dont use v14 and do you mean pages dir?
however, this is the file for v13.5.6 (the latest v13 release): https://github.com/vercel/next.js/blob/v13.5.6/docs/02-app/02-api-reference/05-next-config-js/index.mdx
Answer
Polar bearOP
I mean the version of next. I do use v14.
Consumers of my library don't.
Exporting a library that supports server components with code that does not work in browser (eg jsdom stuff) requires the following export:
exports: {
".": {
"browser": "browserstuff.js",
"node": " "nodestuff.js"
}
}
Unfortunately that is not backwards compatible with nextjs versions <14 as it incorrectly chooses the "node" version.
I wanted to refer to the next.config documentation for v13 but for some bizarre reason that is really hard to find. /rant
Consumers of my library don't.
Exporting a library that supports server components with code that does not work in browser (eg jsdom stuff) requires the following export:
exports: {
".": {
"browser": "browserstuff.js",
"node": " "nodestuff.js"
}
}
Unfortunately that is not backwards compatible with nextjs versions <14 as it incorrectly chooses the "node" version.
I wanted to refer to the next.config documentation for v13 but for some bizarre reason that is really hard to find. /rant
ah ok that makes sense, i think my latest link should be what you want then!