RobertN's avatar

multiple js files output

Hello, i know the title may be a bit vague but mostly is just a curiosity because i don't really understand what is happening. Basically I am in process of learning vue and i decided to also play with laravel mix and my problem may or may not be because of mix.

So i have stumbled on a vue theme with different components and some generic pictures. The thing is when i run npm run dev and it builds, the output spits out multiple .js files like this:

0.js
1.js
2.js
...
8.js
main.js

Some of these files contain the pictures. I know this may not sound like a big problem but it kills me that i can't understand why it does that, is it something from laravel-mix? or vue-loader?

I'm just curious why is this happening because i would only want like one main.js file

0 likes
1 reply

Please or to participate in this conversation.