mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-15 23:13:22 +00:00
fix: remove space between minus and CSS path in parseSelectors
This commit is contained in:
@@ -277,7 +277,7 @@ func parseSelectors(selector string) (string, []string) {
|
||||
includeSelector := strings.TrimSpace(parts[0])
|
||||
var excludeSelectors []string
|
||||
for _, part := range parts[1:] {
|
||||
excludeSelectors = append(excludeSelectors, strings.TrimSpace(part))
|
||||
excludeSelectors = append(excludeSelectors, strings.TrimPrefix(part, " "))
|
||||
}
|
||||
return includeSelector, excludeSelectors
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user