Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS injection support #20

Open
yuvadm opened this issue Jun 30, 2020 · 3 comments
Open

CSS injection support #20

yuvadm opened this issue Jun 30, 2020 · 3 comments

Comments

@yuvadm
Copy link

yuvadm commented Jun 30, 2020

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?

@thgh
Copy link
Owner

thgh commented Jul 23, 2020

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

@benmccann
Copy link
Contributor

I'm doing something like that in domingues/rollup-plugin-css-chunks#8

@socketopp
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants