babel-plugin-css-to-js
babel-plugin-css-to-js copied to clipboard
Babel plugin for converting CSS template literals into JavaScript object literals
Results
2
babel-plugin-css-to-js issues
Sort by
recently updated
recently updated
newest added
At the moment nested literals/objects are interpreted as keys, or dropped entirely. Is this something you would consider adding support for? ```javascript // From css` color: red; ${props.blue && css`...
When a CSS property is defined more than once, you want to be able to access them all. ``` javascript css`display: flex; display: -webkit-flex` ``` Into ``` javascript ({ display:...