-
Notifications
You must be signed in to change notification settings - Fork 3
[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: