pixelmund / svemix

The Full-Stack addition to SvelteKit. Write your server code inside svelte files, handle sessions, forms and SEO easily.
https://svemix.com
MIT License
337 stars 16 forks source link

Don't create page endpoints! #54

Closed pixelmund closed 2 years ago

pixelmund commented 2 years ago

I found a way to stop generating the page endpoints. This is a bit of a hack but it works! I I've patched the fs functions kit uses to analyze the routes directory and use some vite hooks to still resolve these modules.

Feel free to test this with the next version svemix@0.9.0-next.1

One thing that i'm scared about is the new routing proposal, because imo that would make svemix obsolete and either we fork a version of kit or discontinue svemix...

Fixes #50