For me as a starter it was very difficult to get my JS configuration up and running. The problem is that I did not use Vue or React in the first project and Laravel Mix just started to put a huge overhead into my builds which I guess came from Webpack and Vue.
It took some time until I discovered the babel() method in the official Laravel documentation that reduced the JS output to the bare minimum. Therefore I added a simple hint to the JS page that points new users to the concatenation and minification page.
For me as a starter it was very difficult to get my JS configuration up and running. The problem is that I did not use Vue or React in the first project and Laravel Mix just started to put a huge overhead into my builds which I guess came from Webpack and Vue. It took some time until I discovered the
babel()
method in the official Laravel documentation that reduced the JS output to the bare minimum. Therefore I added a simple hint to the JS page that points new users to the concatenation and minification page.