File tree 2 files changed +2
-1
lines changed
packages/@tailwindcss-upgrade/src/codemods/css
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
### Fixed
11
11
12
12
- Allow ` _ ` before numbers during candidate extraction ([ #17961 ] ( https://github.com/tailwindlabs/tailwindcss/pull/17961 ) )
13
+ - Upgrade: Fix error when using ` @import … source(…) ` ([ #17963 ] ( https://github.com/tailwindlabs/tailwindcss/pull/17963 ) )
13
14
14
15
## [ 4.1.6] - 2025-05-09
15
16
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export async function analyze(stylesheets: Stylesheet[]) {
39
39
AtRule : {
40
40
import ( node ) {
41
41
// Find what the import points to
42
- let id = node . params . match ( / [ ' " ] ( .* ) [ ' " ] / ) ?. [ 1 ]
42
+ let id = node . params . match ( / [ ' " ] ( .* ? ) [ ' " ] / ) ?. [ 1 ]
43
43
if ( ! id ) return
44
44
45
45
let basePath = node . source ?. input . file
You can’t perform that action at this time.
0 commit comments