-
Notifications
You must be signed in to change notification settings - Fork 807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extremely slow compile times ~28882ms #2411
Comments
Is it also slow when recompiling the code? On the first compile it will be slow, but for recompiling it should be super fast when running npm run watch :) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I also experience compile time problems. Apparently this is a common problem with sass+webpack: |
this kinda helped me: I use |
I'm having extremely slow build times with 100+ sass files. If I break up the build with yargs and only process 20 or so at a time, my build executes within a few minutes, but when I run all sass files at once it can take over 30 minutes to compile. It appears that each sass file added to the chain adds an exponential increase in compile time. |
I answered this question in another issue a few hours ago. I get a 26 second initial compile time (There's not really any way around this given the 20k lines of tailwind utilities) but my subsequent builds all take around 150ms. Here's my setup: #2470 (comment) |
Hey, everyone. I'm not sure if this is related to a Mix bug or not. I use Tailwind, too, but have never suffered from 30 second watch recompiles. It could be related to many things. If someone can send me a set of steps to follow, I can look into it further. |
I also seem to have an issue with extreme long compilation times with Laravel-Mix 5.0.4. When I downgrade to 4.1.4, the problem is gone. I don't use Tailwind. node v10.18.1 Any update on this issue? |
I think laravel mix 6 is the way to go. At least, once plugins started fixing their build issues ( |
The command hung for minutes, and when I did a Ctrl+C it kicked into action. |
Hi there, I'm suffering with really slow compile times when running npm watch script. Hopefully someone wiser than me can advise if I'm doing something wrong (I can't figure out what I've missed 馃槙).
I'm running
laravel-mix v5.04
,node v11.15.0
, &npm v6.14.4
.Here is my webpack.mix.js file && package.json for reference:
The text was updated successfully, but these errors were encountered: