-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Closed as not planned
Description
Description
It is currently possible to opt out of CSS Injection by adding ?inline to the relevant import declarations.
However, for some applications, specifically those that rely on Constructable Stylesheets or more generally applications that rely on Shadow DOM, adding this to the end of every import feels unnecessarily redundant to me.
Suggested solution
It would be nice if a configuration option could be exposed to just never inject any CSS. There is already a few CSS-specific configuration options, and I propose adding an additional option css.inject which defaults to true
Alternative
It can be worked around by adding ?inline to every import declaration referencing a CSS file.
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Reactions are currently unavailable