Awesome Lists

babel-plugin-css-in-js

by martinandert

JavaScriptpushed about 9 years ago

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.

AI summary

Style converter

Converts JavaScript inline styles to class names and bundles them into a CSS file

stars
298
forks
11
watching
10
awesome list
1
View on GitHub

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/martinandert/babel-plugin-css-in-js/links.svg)](https://awesome.facts.dev/awesome/martinandert/babel-plugin-css-in-js)
HTML
<a href="https://awesome.facts.dev/awesome/martinandert/babel-plugin-css-in-js"><img src="https://awesome.facts.dev/shield/martinandert/babel-plugin-css-in-js/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/martinandert/babel-plugin-css-in-js/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.