Static assets list
#11102
Replies: 1 comment 1 reply
-
The main question I would have is why would you need this in particular? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all, I've been searching on the docs and couldn't find anything related to this so decided to open a question, so please consider the following scenario:
If I wanted to create a endpoint on my next.js app that exposes the assets the apps is using, on a per build basis, what would be the recommend way to do this?
I noticed - correct me If I'm wrong - that all the assets used on client side are under the
.next/static
folder, and that there is a filebuild-manifest.json
that list some of the js used on client side. However, since this is not considered a public facing API, I feel like going for an approach where we sniff this out might create problems in the future, if for however reason this structures changes.Please advise if there is an official way to do this, and if not, is it something I can create a feature request for?
Beta Was this translation helpful? Give feedback.
All reactions