lundi 17 juin 2019

Laravel-mix: What's the difference between script() and combine()?

I'm using Laravel for my PHP projects, which is equiped with webpack through Laravel-mix. I've been using mix.js and mix.script (I know the difference between them). Last week I downloaded a pre-built Laravel mockup (Laraspace) which is using mix.js and mix.combine. I tried to find docs to know exactly what combine() do (different than script()), but all I found is that they do pretty the same.

Is this some legacy function, alias, or is there a different logic behind combine()?

Thanks.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire