rollup-plugin-css-only
rollup-plugin-css-only copied to clipboard
CSS injection support
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
?
Yes, it's possible, I have seen it in another plugin. Happy to receive a PR!
I'm doing something like that in https://github.com/domingues/rollup-plugin-css-chunks/pull/8
I guess there is no library that does this today huh? Either I make a PR or just inject bundle.css manually.