Skip to content

Commit

Permalink
fix: parse minimized css import
Browse files Browse the repository at this point in the history
  • Loading branch information
ahabhgk committed Apr 23, 2024
1 parent 1542e11 commit 0e28b6e
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
Original file line number Diff line number Diff line change
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 0e28b6e

Please sign in to comment.