Skip to content

Commit

Permalink
del log
Browse files Browse the repository at this point in the history
  • Loading branch information
wenwenhua committed Nov 28, 2024
1 parent 8be6d98 commit fab3d34
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/webpack-plugin/lib/platform/style/wx/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,7 @@ module.exports = function getSpec ({ warn, error }) {
values = values.splice(0, 3)
}
const cssMap = []
// 复合属性不支持单个css var(css var可以接收单个值可以是复合值,复合值运行时不处理,这里前置提示一下)
if (values.length === 1 && cssVariableExp.test(value)) {
error(`Property ${prop} in ${selector} is abbreviated property and does not support a single CSS var`)
return { prop, value }
}
const lastOne = values[values.length - 1]
Expand Down

0 comments on commit fab3d34

Please sign in to comment.