tailwindcss/src/jit/lib
Robin Malfait 38a71d8d60
Use tmp file as a touch file (#4650)
* use `~/.cache/tailwindcss` as default touch dir

When more tools catch up with the latest postcss dependency tracking,
then we probably don't even need this anymore. However, it is a good
practice to put (global) caches in ~/.cache and (global) configs in
~/.config

Fixes: #4569

* change test to verify @tailwind base slightly

Because of some changes in tailwind itself, the base selector contains a
ton of new --tw-* custom properties. Keeping this up to date might be a
bit of an annoying challenge. So instead we now check for the selector
to be present.

* add `tmp` package

* use a (simple) temporary file, instead of a full cache dir
2021-06-15 10:06:29 -04:00
..
collapseAdjacentRules.js Compare adjacent rules ignoring whitespace 2021-05-30 14:55:30 -04:00
expandApplyAtRules.js Support applying important utilities in JIT (#4260) 2021-05-06 13:52:26 -04:00
expandTailwindAtRules.js Allow quotes in arbitrary value blocks (#4625) 2021-06-11 09:55:35 -04:00
generateRules.js Fix cloning issues (#4646) 2021-06-14 17:48:28 +02:00
normalizeTailwindDirectives.js Refactor internals to decouple watch strategies and extract IO 2021-05-26 09:43:05 -04:00
setupContextUtils.js cleanup old contexts in config hash map (#4571) 2021-06-07 13:49:38 -04:00
setupTrackingContext.js implement purge safelist (#4580) 2021-06-09 10:00:09 -04:00
setupWatchingContext.js Use tmp file as a touch file (#4650) 2021-06-15 10:06:29 -04:00
sharedState.js [WIP] Unify JIT and AOT code paths (#4188) 2021-04-30 10:58:40 -04:00