Skip to content

Commit b8f726f

Browse files
committed
fix(px-to-local-var): 修复CSS注释错误及配置项注释
1 parent ffd61ee commit b8f726f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/postcss/src/px-to-local-var/css/complex.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
/* pxtovar-disable-next-line */
66
line-height: 16px;
77
font-size:
8+
/* 错误写法 */
89
/* pxtovar-disable-next-line */ 15px;
910
left: -2px;
1011
}

packages/postcss/src/px-to-local-var/gen-fixtures.cts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async function main() {
5555
await processFile(
5656
file,
5757
{
58-
replace: false,
58+
// replace: false,
5959
},
6060
postcssPxToLocalVar,
6161
);

0 commit comments

Comments
 (0)