Skip to content

Commit

Permalink
fix: 移除注释
Browse files Browse the repository at this point in the history
  • Loading branch information
heiazu committed Nov 27, 2024
1 parent 07d5a3d commit 8e82235
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/postcss-pxtransform/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,6 @@ function createPxReplace (rootValue, unitPrecision, minPixelValue, onePxTransfor
return m
}

// 转换工作,如果是harmony的话不转换
// if (platform === 'harmony') { return m }
let val = pixels / rootValue(input, m, $1)
if (unitPrecision >= 0 && unitPrecision <= 100) {
val = toFixed(val, unitPrecision)
Expand Down

0 comments on commit 8e82235

Please sign in to comment.