Add asset versioning for default build location using vite#399
Add asset versioning for default build location using vite#399reinink merged 1 commit intoinertiajs:masterfrom
Conversation
When mix is not used for asset compilation, chances are high that vite is used instead. That's why I think it makes sense to add the default location that vite builds to as a fallback for when now mix-manifest is available
|
Hey thanks for this. Is the |
|
This is mostly specific to the Laravel Vite package. The default build folder for vite is the |
|
@reinink This would also work for the official Laravel Vite integration as it uses the same path. |
|
Great, thanks @WouterSioen and @jessarcher — that makes sense to me 👍 |
|
btw why not use something faster than |
When mix is not used for asset compilation, chances are high that vite is used instead.
That's why I think it makes sense to add the default location that vite builds to as a
fallback for when now mix-manifest is available.
https://laravel-vite.dev/guide/essentials/building-for-production.html#build-path contains
some information about the default production build using laravel-vite.