Custom folder for ISR pages files (HTML, JSON,...) separated from the build files (JS) #64665
pascual-cano-allhuman
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goals
Non-Goals
Background
Depending on your hosting solution a clear separation between writable / non writable folders may be required. Establishing separate permissions is very difficult on the pages folder (under .next) because build files and files generated by the app on run time are on the same folder.
Proposal
A configuration pathname on .nextconfig could allow advanced users to establish a different folder as a container of the files generated by the application on real time, such a ISR files (HTML and JSON).
Beta Was this translation helpful? Give feedback.
All reactions