Thank you so much for sharing this!
Got my build time down from 2:20 to just 19 seconds!
One note: noticing that my dev builds are slower than my production ones, i found that (at least for me) always executing purgecss gave me even better timings: 8 seconds!
i.e. replaced ...(production ? [purgecss] : []
with purgecss
Thank you for sharing your results! Glad to help you out.
I think it worths to disableΒ Purgecss in development. I frequently use DevTools to add/remove some styles to get an instant preview. Therefore, I can sacrifice some seconds for better development experience π
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you so much for sharing this!
Got my build time down from 2:20 to just 19 seconds!
One note: noticing that my dev builds are slower than my production ones, i found that (at least for me) always executing purgecss gave me even better timings: 8 seconds!
i.e. replaced
...(production ? [purgecss] : []
with
purgecss
Thank you for sharing your results! Glad to help you out.
I think it worths to disableΒ
Purgecss
in development. I frequently use DevTools to add/remove some styles to get an instant preview. Therefore, I can sacrifice some seconds for better development experience π