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
manifest's plugin has no hook for package-provided Vite plugins yet; I asked for one in Javaabu/manifest#14. Once that lands, the provider registers the plugin with manifest and apps can drop the extra line. Nothing else changes, so this issue isn't blocked on it.
Translations reach bundles as a virtual module (virtual:js-localization, one lazy chunk per locale) exported by php artisan lang:js --stdout, so nothing generated needs committing or gitignoring. write: true also keeps the files at js-localization.path current. Note: laravel-vite-plugin's refresh: true watches lang/** and reloads the page; list your refresh paths without lang/ to get updates without a reload.
Activity
Add the Vite plugin: bundled translations and HMR for lang/
n4ff4h commentedon Nov 4, 2026
Decision: the plugin ships at
vendor/javaabu/js-localization/dist/vite.jsand works standalone, next tomanifest():manifest's plugin has no hook for package-provided Vite plugins yet; I asked for one in Javaabu/manifest#14. Once that lands, the provider registers the plugin with manifest and apps can drop the extra line. Nothing else changes, so this issue isn't blocked on it.
Translations reach bundles as a virtual module (
virtual:js-localization, one lazy chunk per locale) exported byphp artisan lang:js --stdout, so nothing generated needs committing or gitignoring.write: truealso keeps the files atjs-localization.pathcurrent. Note: laravel-vite-plugin'srefresh: truewatcheslang/**and reloads the page; list your refresh paths withoutlang/to get updates without a reload.Register the Vite plugin with manifest, so apps only add manifest()