bobmulder's avatar

Laravel Mix build takes about 20 minutes (using Vue & Typescript)

Hi all!

My application in Laravel keeps growing. My frontend stack currently exists of Laravel Mix, Vue (2), Bootstrap, Bootstrap Vue, Typescript and some other libraries.

The build time of my frontend using yarn mix build takes more than 20 minutes, for approx +300 ts and vue files.

I have extracted my js logic into a new clean Laravel project which can be found here: https://github.com/bobmulder/mix-demo. Running yarn mix build in this project takes about 15 seconds. This setup contains Typescript, Vue (2), Bootstrap Vue and two small components.

According to this demo, is 15 seconds for such a small application not way too long? Am I doing anything wrong?

If someone is willing to clone this app, and tell me how long their build takes, please let me know!

Any help is appreciated :)

Regards, Bob

0 likes
0 replies

Please or to participate in this conversation.