mui / pigment-css

Pigment CSS is a zero-runtime CSS-in-JS library that extracts the colocated styles to their own CSS files at build time.
MIT License
396 stars 19 forks source link

Non bundler integration mode / add runtime? #59

Open oliviertassinari opened 1 month ago

oliviertassinari commented 1 month ago

Summary

It's not viable for Pigment CSS to rely on integrating deeply with all bundlers. It needs a bundler agnostic escape hatch, so a runtime?

Examples


Side thoughts:

Motivation

No response

Search keywords: -

oliviertassinari commented 1 month ago

Another use case: the CDN quick and dirty prototyping:https://github.com/mui/material-ui/tree/next/examples/material-ui-via-cdn

oliviertassinari commented 3 weeks ago

Same request in https://github.com/callstack/linaria/issues/668