Next.js Discord

Discord Forum

How to point to the right output directory in project settings?

Unanswered
Ojos Azules posted this in #help-forum
Open in Discord
Ojos AzulesOP
I have a custom build script that I run to precompile some wasm stuff (but it's still a nextjs site).


I set the output dir to ".next" and it looks like the static assets are all there at the end of the build, but I still get a 404 error -- like it doesn't know what to render. How can I make vercel render the website from this .next folder?

1 Reply

Ojos AzulesOP
i had the wrong framework selected. Used nextjs and it worked finally