nuxt / content

The file-based CMS for your Nuxt application, powered by Markdown and Vue components.
https://content.nuxt.com
MIT License
3.08k stars 624 forks source link

Prerender query path only when build is not a static one #2533

Closed Barbapapazes closed 1 month ago

Barbapapazes commented 8 months ago

Environment

/

Reproduction

/

Describe the bug

Hello,

Actually, every query are prerendered, https://github.com/nuxt/content/pull/1502/files. It generate a loottt of files and slow down the build process.

This is interesting when doing SSR without being static but when it's static, these files are not needed.

Additional context

No response

Logs

No response

Barbapapazes commented 8 months ago

see https://github.com/unjs/website/pull/271

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 30 days with no activity.