hupe1980 / gatsby-plugin-material-ui

Gatsby plugin for Material-UI with built-in server-side rendering support
MIT License
136 stars 25 forks source link

Support for prefixing and minification #21

Closed hupe1980 closed 5 years ago

hupe1980 commented 5 years ago

https://next.material-ui.com/getting-started/supported-platforms/#css-prefixing

@oliviertassinari Should we do that in the plugin? What do you think?

oliviertassinari commented 5 years ago

@hupe1980 This sounds like a great idea. The downside is about generation performance. I would probably add a boolean flag to opt-out. The Material-UI documentation can be a great source of inspiration for the actual implementation. We handle it with Next.js using PostCSS.

oliviertassinari commented 5 years ago

Nice!