gjm's avatar
Level 2

Laravel mix upgrade best-practices

Hi.

The Laravel upgrade guide doesn't mention upgrading package.json versions as it does for some composer.json components, namely laravel-mix.

How do you guys do it when you upgrade Laravel? Do you manually keep it in sync with the default framework file?

That's what I have been doing but it feels somewhat awkward and I was wondering if there is a better way of tackling this.

Thanks in advance.

0 likes
1 reply
Braunson's avatar

Typically I keep it in sync with the framework releases (every other minor/major), but regardless I'd look at the Laravel mix changelog and see what you need to update (if you need to update any dependencies).

Please or to participate in this conversation.