rollup-plugin-css-only icon indicating copy to clipboard operation
rollup-plugin-css-only copied to clipboard

CSS injection support

Open yuvadm opened this issue 4 years ago • 3 comments

It seems the plugin only supports bundling css into a single bundle.css file.

Would it be possible to support injection of the styles into an existing bundle.js?

yuvadm avatar Jun 30 '20 06:06 yuvadm

Yes, it's possible, I have seen it in another plugin. Happy to receive a PR!

thgh avatar Jul 23 '20 11:07 thgh

I'm doing something like that in https://github.com/domingues/rollup-plugin-css-chunks/pull/8

benmccann avatar Nov 19 '20 14:11 benmccann

I guess there is no library that does this today huh? Either I make a PR or just inject bundle.css manually.

socketopp avatar Feb 08 '24 11:02 socketopp