4 Commits

Author SHA1 Message Date
Sergey Tatarintsev
2166b76c53
Improve production build performance for the case of many small non-tailwind stylesheets (#4644)
* Improve `purge` performance in layers mode

In layers mode, skip `purgecss` completely if source stylesheet does
not have any tailwind layers. For the legacy codebases with a lot of
non-tailwind stylesheets, it dratically improves the performance of
the production build.

* fix: purgecss should respect safelist.variables
2021-07-01 14:25:06 -04:00
Robin Malfait
674d79d0ac
move cssnano to devDependencies 2021-06-17 17:54:32 +02:00
Adam Wathan
204ad22ec8 Pin PurgeCSS to ^3 for compat build 2021-05-31 08:57:45 -04:00
Robin Malfait
1d8679d37e
Postcss7 compatibility (#2773)
* add postcss7 compatibility layers

* add compatibility mode scripts
2020-11-16 13:09:59 -05:00