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

Feature Request: More control over injection #7

Open
mririgoyen opened this issue Mar 12, 2019 · 1 comment
Open

Feature Request: More control over injection #7

mririgoyen opened this issue Mar 12, 2019 · 1 comment

Comments

@mririgoyen
Copy link

I would like to be able to pass options to style-inject that allows me to place meta tags on the <style> tags injected into the head.

For example, I could use the CSS Module name like: <style data-meta="MyModule" />.

This would allow me to add context to the style, and additionally target this specific <style> tag for updates during development (with things such as hot-reloading).

@ivoilic
Copy link

ivoilic commented Aug 22, 2021

@goyney I've added this feature in an improved version of this package: style-implant

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

2 participants