File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
packages/@tailwindcss-node/src Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [ Unreleased]
9
9
10
- - Nothing yet!
10
+ ### Fixed
11
+
12
+ - Ensure absolute ` url() ` s inside imported CSS files are not rebased when using ` @tailwindcss/vite `
11
13
12
14
## [ 4.0.0-beta.4] - 2024-11-29
13
15
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ export async function rewriteUrls({
51
51
let promises : Promise < void > [ ] = [ ]
52
52
53
53
function replacerForDeclaration ( url : string ) {
54
+ if ( url [ 0 ] === '/' ) return url
55
+
54
56
let absoluteUrl = path . posix . join ( normalizePath ( base ) , url )
55
57
let relativeUrl = path . posix . relative ( normalizePath ( root ) , absoluteUrl )
56
58
You can’t perform that action at this time.
0 commit comments