-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace Laravel Mix with Vite #1129
Comments
Closing as Vite is not at all a good fit for HydePHP. I have build quite a few sites with Hyde and never really had any issues with Webpack/Mix. Moving to Vite would require a special wrapper (meaning it would wrap the wrapper that wraps a wrapper -- which makes as little sense as that sentence) to transform the generated files. And at this point I don't even know the problem I'm solving. Sure Vite is the new and cool thing, but it just isn't needed here. I'm sure it's great for Laravel apps using Vue or another JS frontend and you want HMR, but here were we just want to compile some Tailwind it's just overkill. Webpack works great, and if you want lightning fast TailwindCSS compilation, just turn on the Play CDN with a single config setting! |
Reconsidering this for HydePHP v2 #1499 as Vite has now evolved from a "shiny new thing" to the de-facto standard for Laravel. Key changes from Laravel Mix to Vite:
And main part: Match new Laravel syntax of |
Implemented in #2010 |
Replace Laravel Mix with Vite #1129
Abstract
As this is now the default for Laravel applications, we should also use Vite as the default frontend asset bundler for new HydePHP projects.
Internal development notes
Resources
Tasks
The text was updated successfully, but these errors were encountered: