how to disable server output, enable *only* pre-rendering?
When I enable pre-rendering (SSG) with
server.prerender.crawLinks = true
, the npm run build
command outputs both a server and static pre-render. How do we configure it to output only SSG without the server output?2 Replies
I don’t think this is possible - the server build is what’s used to generate the pre-rendered html. Using
preset: ‘static’
will produce only a client build but i don’t think pre-rendering will work properlyHmm, so maybe the solution is to just .gitignore the server output?