Working With JavaScript: Vendor Extraction

If you intend to make frequent updates to your application's JavaScript, you should consider extracting all of your vendor libraries into their own file
Mix.js('resources/js/app.js', 'public/js')
   .extract(['vue'])

Working With JavaScript: Vendor Extraction — Structure map

Clickable & Draggable!

Working With JavaScript: Vendor Extraction — Related pages: