Skip to content

Commit 6a04cdb

Browse files
authored
fix(pack): lightningcss support parse put function under var() (#2534)
1 parent d3b7b2c commit 6a04cdb

File tree

6 files changed

+23
-12
lines changed

6 files changed

+23
-12
lines changed

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/pack-tests/tests/snapshot/style/invalid_pseudo_class/input/index.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@ img {
1818

1919
form[id='step1'] {
2020
background: red;
21+
}
22+
23+
.displayName {
24+
color: var(rgba(4, 15, 36, 0.85));
25+
margin-bottom: 12px;
2126
}

crates/pack-tests/tests/snapshot/style/invalid_pseudo_class/output/input_abae66a4.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/pack-tests/tests/snapshot/style/invalid_pseudo_class/output/input_abae66a4.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/pack-tests/tests/snapshot/style/invalid_pseudo_class/output/input_index_less_9bc845ef.css

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/pack-tests/tests/snapshot/style/invalid_pseudo_class/output/input_index_less_9bc845ef.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)