From 2759872ce05575f6d5bc45a5df9f071d8763c089 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Sat, 26 Aug 2017 23:34:04 -0400 Subject: [PATCH] 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 :) --- src/util/defineClass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/defineClass.js b/src/util/defineClass.js index c31488ced..157b1afc3 100644 --- a/src/util/defineClass.js +++ b/src/util/defineClass.js @@ -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}`, }) })