tailwindcss/packages/@tailwindcss-node/src
Philipp Spiess 667af255b3
Vite: Don't rebase absolute url()s (#15275)
Closes #15269

This PR fixes an issue where our Vite extension was rebasing absolute
urls inside `@import`-ed files. We forgot to cover this when we
implemented the URL rebasing.

## Test Plan

We validated that this fixes the repro in #15269:

<img width="851" alt="Screenshot 2024-12-02 at 18 07 35"
src="https://github.com/user-attachments/assets/3b2c2be3-1f73-469e-9f64-301c6b948b02">

Also added a unit test for this.

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2024-12-02 14:23:38 -05:00
..
compile.ts Improve performance of @tailwindcss/postcss and @tailwindcss/vite (#15226) 2024-11-29 10:59:29 -05:00
env.ts Expose timing information in debug mode (#14553) 2024-09-30 14:39:21 +00:00
esm-cache.loader.mts Support loading config files via @config (#14239) 2024-09-02 18:03:16 +02:00
get-module-dependencies.ts Support loading config files via @config (#14239) 2024-09-02 18:03:16 +02:00
index.cts Expose timing information in debug mode (#14553) 2024-09-30 14:39:21 +00:00
index.ts Improve performance of @tailwindcss/postcss and @tailwindcss/vite (#15226) 2024-11-29 10:59:29 -05:00
normalize-path.ts Resolve @import in core (#14446) 2024-09-23 17:05:55 +02:00
require-cache.cts Support loading config files via @config (#14239) 2024-09-02 18:03:16 +02:00
urls.test.ts Rewrite urls in CSS files when using Vite (#14877) 2024-11-07 09:51:58 -05:00
urls.ts Vite: Don't rebase absolute url()s (#15275) 2024-12-02 14:23:38 -05:00