tailwindcss/integrations/postcss
Jordan Pittman 4363426384
Fix validation of source(…) paths (#19274)
Fixes #18833

- [x] Needs tests

Basically we were correctly resolving the path given to `source()`
inside Oxide *but* inside `@tailwindcss/node` when we validated that the
path was a directory we were not.

We incorrectly used the base path of the input file rather than the file
the `source(…)` directive was defined in. This PR fixes that.
2025-11-06 16:24:17 -05:00
..
config.test.ts Improve integration tests (stability + performance) (#15125) 2024-12-12 13:48:56 +01:00
core-as-postcss-plugin.test.ts Improve integration tests (stability + performance) (#15125) 2024-12-12 13:48:56 +01:00
index.test.ts Fix validation of source(…) paths (#19274) 2025-11-06 16:24:17 -05:00
multi-root.test.ts Make @reference emit variable fallbacks instead of CSS variable declarations (#16774) 2025-02-25 11:36:43 +01:00
next.test.ts Fix slow incremental builds (especially on Windows) (#17511) 2025-04-03 17:13:15 +02:00
plugins.test.ts Make @reference emit variable fallbacks instead of CSS variable declarations (#16774) 2025-02-25 11:36:43 +01:00
source.test.ts Use @layer properties for @property polyfills (#17506) 2025-04-02 18:16:28 +02:00
url-rewriting.test.ts Allow users to disable url rewriting in the PostCSS plugin (#18321) 2025-07-30 10:35:10 -04:00