I'm seeing this error:
Uncaught ReferenceError: webpackJsonp is not defined
For both, vendor.js and app.js.
I'm also curios about the limitations for mix.extract(). jQuery and Vue seem to get extracted, but laravel-echo or pusher-js for example do not when using import or require().
You need to also serve manifest.js file that webpack creates. [1]
<script src="{{ mix('js/manifest.js') }}"></script>
<script src="{{ mix('js/vendor.js') }}"></script>
<script src="{{ mix('js/app.js') }}"></script>
[1] https://github.com/JeffreyWay/laravel-mix/blob/master/docs/extract.md
Most helpful comment
You need to also serve
manifest.jsfile that webpack creates. [1][1] https://github.com/JeffreyWay/laravel-mix/blob/master/docs/extract.md