Answer the question
In order to leave comments, you need to log in
How to speed up pug build?
Hello. Help me please. How to speed up Pug build?
With a large number of files, the build can take up to 50 seconds
https://github.com/FARCER/gulp4start
If you don't have one, please post links to your builds. Thank you!
Answer the question
In order to leave comments, you need to log in
Most likely the problem is due to the fact that when you change one file, all the other files are completely assembled, although they have not changed, it takes much more time and grows as the number of files in the project increases.
I have tried various solutions to this problem in the past, and gulp-cached turned out to be the most successful . It is easy to connect, suitable for any tasks in the galpa, and most importantly, it really works (unlike many other similar ones)!
If you can look at my galpa starter pack , everything is there. There is also a light version of this starter pack , it is somewhat truncated, it may be easier to figure it out, this plugin is also there.
https://m.youtube.com/watch?t=16s&v=uYZPNrT-e-8
https://m.youtube.com/watch?t=3s&v=jocvHauHcA4
I watched it myself recently, I think it will help.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question