babel-plugin-css-in-js
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -12,2 +12,7 @@ # Changelog | ||
## v1.2.3 (April 27, 2016) | ||
- **Bug Fix** | ||
- Allow string value to be blank for 'content' rule (#10) | ||
## v1.2.2 (February 27, 2016) | ||
@@ -14,0 +19,0 @@ |
@@ -72,3 +72,3 @@ 'use strict'; | ||
if (typeof val === 'string') { | ||
if (name !== 'content' && typeof val === 'string') { | ||
(0, _assert2.default)(!isBlank.test(val), 'string value cannot be blank'); | ||
@@ -75,0 +75,0 @@ } |
{ | ||
"name": "babel-plugin-css-in-js", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "A plugin for Babel v6 which transforms inline styles defined in JavaScript modules into class names so they become available to, e.g. the `className` prop of React elements. While transforming, the plugin processes all JavaScript style definitions found and bundles them up into a CSS file, ready to be requested from your web server.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
45872