This is still a draft for now because it is based on #102
Currently when exporting static sites vie the luna cli it is either automatically finding all routes for you or manually defining all routes via the entries property in config.export.
If you need to add some more routes because you have dynamic routes for example you have to redefine all other (static) routes manually again.
With this change we can now accept all static routes as parameter for the entries callback.
Also I would like to discuss the naming of "entries" here 😆 . I think "routes" or "pages" would be better?!
What do you think? @quarkus @lukas-schardt
This is still a draft for now because it is based on #102
Currently when exporting static sites vie the luna cli it is either automatically finding all routes for you or manually defining all routes via the
entries
property inconfig.export
.If you need to add some more routes because you have dynamic routes for example you have to redefine all other (static) routes manually again.
With this change we can now accept all static routes as parameter for the
entries
callback.Also I would like to discuss the naming of "entries" here 😆 . I think "routes" or "pages" would be better?! What do you think? @quarkus @lukas-schardt