What is the purpose of the .txt files generated for each route? #59394
-
SummaryI just recently upgraded my pages router to app router, and everything went fairly smooth. However I noticed that for every page, Next also generates a .txt file. I tried this on a new project: And in the index.txt
Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
I can't seem to find anything about this in the documentation. And seems to be happening in the latest version, however haven't seen any posts about it. |
Beta Was this translation helpful? Give feedback.
-
It's a React Server Component Payload:
It used to be called They started appearing after upgrading to router because of (AFAICT): b590ec3 |
Beta Was this translation helpful? Give feedback.
It's a React Server Component Payload:
It used to be called
index.rsc
but was renamed to.txt
in af8963d, for reasons which aren't given (@styfle?).They started appearing after upgrading to router because of (AFAICT): b590ec3