Next.js Discord

Discord Forum

How do I access previous versions documentation (eg v13)

Answered
Polar bear posted this in #help-forum
Open in Discord
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
Answered by riský
View full answer

6 Replies

you can look at the markdown files on github and use their version history for older version
can i ask why you dont use v14 and do you mean pages dir?
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
ah ok that makes sense, i think my latest link should be what you want then!