Laravel public/js/app.js huge (1.5MB) for simple app

150 views Asked by At

I followed this tutorial https://youtu.be/IyM4uH2fhMU to get basic Laravel setup with auth functionality with a bootstrap preset. After inspecting my files i saw the public/js.app.js being about 1.5MB. My question is, is this normal? I think it is not ok for websites to have a big file to download first.

1

There are 1 answers

1
vr34t On

have you try run npm run production? It looks like you are running in development mode