Next.js Discord

Discord Forum

Add files to output

Unanswered
Willow shoot sawfly posted this in #help-forum
Open in Discord
Willow shoot sawflyOP
I need to access some resources from an API route (using the Pages router), but when compiling the public directory (or any directory for that matter) is included in the .next directory; is it possible to tell the config to always add a certain path to the build? (I'm using standalone mode).

0 Replies