tailwindcss/src/lib
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
..
applyImportantConfiguration.js Prettier likes parens a lot now 2020-10-16 15:39:44 -04:00
convertLayerAtRulesToControlComments.js Prettier likes parens a lot now 2020-10-16 15:39:44 -04:00
evaluateTailwindFunctions.js Refactor internals to decouple watch strategies and extract IO 2021-05-26 09:43:05 -04:00
formatCSS.js Fix formatting empty root 2019-04-19 20:32:54 -07:00
getModuleDependencies.js Prettier likes parens a lot now 2020-10-16 15:39:44 -04:00
purgeUnusedStyles.js Improve production build performance for the case of many small non-tailwind stylesheets (#4644) 2021-07-01 14:25:06 -04:00
registerConfigAsDependency.js Prettier likes parens a lot now 2020-10-16 15:39:44 -04:00
substituteClassApplyAtRules.js Refactor internals to decouple watch strategies and extract IO 2021-05-26 09:43:05 -04:00
substituteResponsiveAtRules.js Prettier likes parens a lot now 2020-10-16 15:39:44 -04:00
substituteScreenAtRules.js Refactor internals to decouple watch strategies and extract IO 2021-05-26 09:43:05 -04:00
substituteTailwindAtRules.js Version number corrected in substituteTailwindAtRules (#3237) 2021-05-07 13:56:09 -04:00
substituteVariantsAtRules.js Add :read-only variant (#4102) 2021-05-11 15:29:23 -04:00