martinandert / babel-plugin-css-in-js Goto Github PK
View Code? Open in Web Editor NEWA 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.
License: MIT License