build is defined as "build": "next build && next export -o build" but it gives me the following build error:
Pages with `fallback` enabled in `getStaticPaths` can not be exported.
See more info here: https://err.sh/next.js/ssg-fallback-true-export
In a Next.js/React project I would just have:
"build": "next build"
but that gives this build error with Preact on Vercel:
Error: No Output Directory named "build" found after the Build completed.
You can configure the Output Directory in your Project Settings.
Learn More: https://vercel.link/missing-public-directory
build
is defined as"build": "next build && next export -o build"
but it gives me the following build error:In a Next.js/React project I would just have:
but that gives this build error with Preact on Vercel: