Skip to content

Commit

Permalink
Fix missing props regression
Browse files Browse the repository at this point in the history
  • Loading branch information
porsager committed Apr 15, 2020
1 parent bf94389 commit 1bea2e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,10 @@ export default function bss({
) {
x.out.push(
propParse(
s.slice(x.prop, x.propEnd), s.slice(x.value, i + 1), x
s.slice(x.prop, x.propEnd), s.slice(x.value, i + 1).trim(), x
)
)
x.end = i + (x.lean ? 1 : 2)
x.end = i + (s[i + 1] === ';' ? 2 : 1)
x.comma = x.value
x.value = x.prop = x.propEnd = null
x.lean = true
Expand Down

0 comments on commit 1bea2e7

Please sign in to comment.