-
Notifications
You must be signed in to change notification settings - Fork 3
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
[BUG] - ES modules import "./some-lib.css" seems not to end up in the shadow-root #118
Comments
Start a new pull request in StackBlitz Codeflow. |
Are you referring to a third-party component library (such as vuetify)? |
For example. Anything that is imported with a The important thing is NOT |
This should explain the bug better: https://stackblitz.com/edit/vitejs-vite-nqrj24 |
Cool, thanks for the fast fix :) |
Describe the bug
When using a library inside as child of your CE component that uses the ES modules
import "./mylib.css"
(in the<script>
tag!) the css does not end up in the shadow dom but in the regular dom.Reproduction
https://stackblitz.com/edit/vitejs-vite-nqrj24 (should work now)
System Info
No response
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: