Answer the question
In order to leave comments, you need to log in
How to optimize laravel mix?
Good afternoon, I am developing a site on laravel and using tailwindcss.
I use laravel-mix to build the project, but the build takes a lot of time, even too much, about 45 seconds...
Tell me, how can I optimize this whole thing? Maybe I configured something wrong in webpack.mix.js?
I am attaching screenshots:
laravel.mix.js
npm run dev
npm run prod
npm run watch also works for a long time, and because of the large amount of time, it starts rebuilding every second and does it for 15 seconds
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question