You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add file system router plugin for vite
Adds vitePluginFileSystemRouter to Vite plugins by default when React and Hilla is in use.
Fixes: #18832
* chore: removed dep from default vite packages
Hilla packages adds the dep in dependencies already.
* test: added tests
Describe your motivation
Hilla's FS-based router plugin is supposed to be added by hand:
This would also trigger a file
views.js
that is needed forroutes.tsx
.We can start by adding this plugin always and investigate possible impact on Flow users.
Then we can consider adding it only when Hilla is used.
Describe the solution you'd like
Flow adds this plugin into generated Vite config and adds it's package to package.json.
Additional context
Vaadin 24.4.
The text was updated successfully, but these errors were encountered: