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

[Wanted] Support inject style #479

Closed
zhmushan opened this issue Dec 2, 2021 · 3 comments · Fixed by #483
Closed

[Wanted] Support inject style #479

zhmushan opened this issue Dec 2, 2021 · 3 comments · Fixed by #483
Labels

Comments

@zhmushan
Copy link
Contributor

zhmushan commented Dec 2, 2021

No description provided.

@zhmushan zhmushan changed the title [Wanted] Inject style [Wanted] Support inject style Dec 2, 2021
@egoist
Copy link
Owner

egoist commented Dec 6, 2021

that's nice to have, but I'm not sure how to implement this

@egoist
Copy link
Owner

egoist commented Dec 6, 2021

If you load css as a js module styleInject("..css code") then you can't take advantage of esbuild to minify the CSS cde.

@egoist
Copy link
Owner

egoist commented Dec 6, 2021

just realized we can use esbuild.transform to minify the CSS code on demand, so maybe that'll work.

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

Successfully merging a pull request may close this issue.

2 participants