-
Notifications
You must be signed in to change notification settings - Fork 28k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation about asset generation #15498
Comments
This would be especially useful for those of us building compatibility layers to run Next on non-Vercel cloud platforms. Currently, doing this takes a lot of reverse engineering either Next itself or other people's compatibility layers, which isn't exactly fun. (Yes, I know, you'd like us to run it on Vercel. Vercel is a fantastic platform and I'd generally love to do this, but sometimes this isn't possible. For example, my current employer runs everything on AWS, and trying to get them to use Vercel for this one project would be a pretty hard sell.) |
If you're not hosting on Vercel you don't have to know about the asset structure as well, as said in the initial message it's not a public API to be used. If you're hosting somewhere else you can use |
The "not-Vercel" in this case is AWS Lambda, so it's not that simple unfortunately. |
By the way, for better or worse, I'm not the first one to depend on next bulid's output--both next-on-netlify and serverless-next.js do as well. |
next-on-netlify is unoffical and does not correctly support Next.js features as documented so I personally wouldn't recommend it as it's unreliable comparing to The reason we recommend We're working on converging the |
I was about to file a new issue, but perhaps this is the correct place to add this. I have some next sites I need to A discussion of what gets built, and how to cache these, would be welcome. |
Also should document what is discussed in #40217.
|
We currently don't have documentation about what the Next.js build output looks like from an architectural standpoint, this might be useful to add sometime. (it's not a public API that people should use)
DX-2429
The text was updated successfully, but these errors were encountered: