mirror of
https://github.com/zhigang1992/esbuild.git
synced 2026-04-30 10:22:49 +08:00
fix #415: extract paths from css url tokens
This commit is contained in:
@@ -38,6 +38,10 @@ type Token struct {
|
||||
// implicit and is not stored.
|
||||
Children *[]Token // 8 bytes
|
||||
|
||||
// URL tokens have an associated import record at the top-level of the AST.
|
||||
// This index points to that import record.
|
||||
ImportRecordIndex uint32 // 4 bytes
|
||||
|
||||
// This will never be "TWhitespace" because whitespace isn't stored as a
|
||||
// token directly. Instead it is stored in "HasWhitespaceAfter" on the
|
||||
// previous token.
|
||||
|
||||
Reference in New Issue
Block a user