tailwindcss/integrations/postcss
Jordan Pittman 3b2ca85138
Fix new file detection in PostCSS plugin (#14829)
We broke this at some point — probably when we tried to optimize
rebuilds in PostCSS by not performing a full auto-source detection scan.

This PR addresses this problem by:
1. Storing a list of found directories
2. Comparing their mod times on every scan
3. If the mod time has changed we scan the directory for new files which
we then store and scan
2024-10-30 15:56:55 +01:00
..
config.test.ts Support loading config files via @config (#14239) 2024-09-02 18:03:16 +02:00
core-as-postcss-plugin.test.ts Throw a useful error when tailwindcss is used as a PostCSS plugin (#14378) 2024-09-11 17:02:24 +02:00
index.test.ts Fix new file detection in PostCSS plugin (#14829) 2024-10-30 15:56:55 +01:00
multi-root.test.ts Add integration tests for multi-root builds (#14564) 2024-10-01 17:00:20 +02:00
next.test.ts Integration tests: Move all file writes into retry block (#14350) 2024-09-06 10:48:49 +02:00
plugins.test.ts Resolve third-party plugins with exports in their package.json (#14775) 2024-10-24 11:34:19 -04:00