martinandert / babel-plugin-css-in-js

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.
MIT License
299 stars 11 forks source link

Fix second pass clearing the originally generated css #5

Closed Nimaear closed 8 years ago

Nimaear commented 8 years ago

Not really sure this is the proper way to go around with babel plugins. This is my first time ever looking at the code. FIxes : martinandert/babel-plugin-css-in-js#4

martinandert commented 8 years ago

Merged. Thanks!

Sorry this took so long.