oedotme / generouted

Generated file-based routes for Vite
https://stackblitz.com/github.com/oedotme/generouted/tree/main/explorer
MIT License
1.02k stars 47 forks source link

Webpack plugin #128

Closed d0whc3r closed 11 months ago

d0whc3r commented 11 months ago

Any possibility to make it webpack compatible?

oedotme commented 11 months ago

It's possible AFAIK — but not necessarly compatible. Like that would need webpack implementation for the runtime integrations with its APIs equivalent to Vite's import.meta.glob. Also webpack plugins per integration for types generation.

TBH, I started generouted to be Vite-based project and was not planning to support other bundlers with their APIs differences, plugin system, etc. That may change on the long-term though.