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).
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).