cli icon indicating copy to clipboard operation
cli copied to clipboard

`analyze` should not prerender routes when specified via `routeRules`

Open TheAlexLichter opened this issue 2 years ago • 1 comments

When analyzing a site via the analyze command, no prerendering should happen, even if routeRules: { '/**': { prerender: true } } or similar is set.

TheAlexLichter avatar Jan 16 '24 10:01 TheAlexLichter

There is only one tricky case that some modules use prerender to emit assets that count in bundle size. But I think we can at least move --prerender behind a flag.

pi0 avatar Jan 16 '24 10:01 pi0