We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
url()
1 parent e9426d0 commit 0b65e24Copy full SHA for 0b65e24
CHANGELOG.md
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
8
## [Unreleased]
9
10
-- Nothing yet!
+### Fixed
11
+
12
+- Ensure absolute `url()`s inside imported CSS files are not rebased when using `@tailwindcss/vite`
13
14
## [4.0.0-beta.4] - 2024-11-29
15
packages/@tailwindcss-node/src/urls.ts
@@ -51,6 +51,8 @@ export async function rewriteUrls({
51
let promises: Promise<void>[] = []
52
53
function replacerForDeclaration(url: string) {
54
+ if (url[0] === '/') return url
55
56
let absoluteUrl = path.posix.join(normalizePath(base), url)
57
let relativeUrl = path.posix.relative(normalizePath(root), absoluteUrl)
58
0 commit comments