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:
Adam Wathan 2017-08-26 23:34:04 -04:00
parent 1c3e36a1df
commit 2759872ce0

View file

@ -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}`,
})
})