DEV Community

Discussion on: What is the best way to distribute styles with npm package?

Collapse
 
kalpeshsingh profile image
Kalpesh Singh

I was recently stumbled upon this situation and finally uploaded the CSS file from package itself.
I also generate one asset manifest file which has location of main css file.

Now, it's upto consumer app to use it as <Link> tag or add it in their bundle.