Context:
Hi, I am working on a website with a lot of reusable blocks each of which have a separate scss & js file.
In order to optimize performances, I've configured mix to output css in separated files so I can load them only if the corresponding block is present on the current page.
This is fine, except mix take more than 40 seconds to recompile now (instead of 6 seconds for a single output file) and this is slowing my work quite a bit...
Question:
How can I make mix compile faster in this situation, is it possible to recompile only the modified files ?
from Laravel mix, faster sass compilation with many ouput files
No comments:
Post a Comment