Convert all property values to strings
Allows using unquoted numeric values. Tricky to test because only breaks when trying to run the whole thing through cssnext in the full chain. Will figure it out later :)
This commit is contained in:
parent
1c3e36a1df
commit
2759872ce0
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ export default function(className, properties) {
|
|||
const decls = _.map(properties, (value, property) => {
|
||||
return postcss.decl({
|
||||
prop: _.kebabCase(property),
|
||||
value: value,
|
||||
value: `${value}`,
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue