ElMassimo / iles

🏝 The joyful site generator
https://iles.pages.dev
MIT License
1.08k stars 31 forks source link

Incremental Static (Re)Generation #39

Closed pbuzdin closed 2 years ago

pbuzdin commented 2 years ago

Generate and regenerate only pages and partials which should be updated.

Additional context https://vercel.com/docs/concepts/next.js/incremental-static-regeneration

ElMassimo commented 2 years ago

Incremental builds

Do you mean incremental rendering?

Currently îles deletes the server bundle after build, but it would possible to keep it instead and provide a convenience script that can be used to render dynamic routes that were not prerendered in getStaticPaths.

As to integrating specifically with providers like Vercel, or Netlify, that's out of scope for the core of îles, and could be implemented as modules.