vercel / styled-jsx

Full CSS support for JSX without compromises
http://npmjs.com/styled-jsx
MIT License
7.68k stars 263 forks source link

Global CSS is not minified #120

Closed thomaslindstrom closed 7 years ago

thomaslindstrom commented 7 years ago

<style jsx>

<style id="__jsx-style-3974295953">.link[data-jsx="2236456407"] {background: red;}</style>

<style jsx global>

                <style id="__jsx-style-1864081020">
                    .link {
                        background: blue;
                    }
                </style>
rauchg commented 7 years ago

We need to run it through stylis!

giuseppeg commented 7 years ago

yep @nikvm is on it