Skip to content

Commit

Permalink
fix: parse minimized css import
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Apr 24, 2024
2 parents 1542e11 + 0e28b6e commit 77c4d0c
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/css/CssParser.js
Expand Up @@ -714,7 +714,7 @@ class CssParser extends Parser {
}

const semicolonPos = end;
end = walkCssTokens.eatWhiteLine(input, end + 1);
end = walkCssTokens.eatWhiteLine(input, end);
const { line: sl, column: sc } = locConverter.get(start);
const { line: el, column: ec } = locConverter.get(end);
const lastEnd =
Expand Down

0 comments on commit 77c4d0c

Please sign in to comment.