tailwindcss/integrations/postcss
Jordan Pittman 492304212f
Allow users to disable url rewriting in the PostCSS plugin (#18321)
Since we (optionally) support source maps now it's possible that a later
PostCSS plugin that *still* does url rewriting might fail to do so
correctly because nodes will have preserved source locations in dev
builds where before we "pretended" that everything came from the
original file.

But, because we can't know if such a plugin is present, disabling this
behavior when source maps are enabled could cause issues *and* would be
a breaking change.

I wish everything *could just work* here but realistically we can't know
what plugins have run before our PostCSS plugin or what plugins will run
after so the best option (I think) we can offer here is to allow users
to disable url rewriting at the plugin level.

Fixes #16700
2025-07-30 10:35:10 -04: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 source map paths in CI (#17938) 2025-05-08 22:56:49 +02: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