-
Notifications
You must be signed in to change notification settings - Fork 789
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: styleUrls
only including the first file listed
#5016
Labels
Bug: Validated
This PR or Issue is verified to be a bug within Stencil
Comments
rwaskiewicz
added
Bug: Validated
This PR or Issue is verified to be a bug within Stencil
and removed
triage
labels
Nov 6, 2023
2 tasks
put together a quick repro: https://github.com/alicewriteswrongs/style-urls-repro |
christian-bromann
added a commit
that referenced
this issue
Dec 4, 2023
2 tasks
christian-bromann
added a commit
that referenced
this issue
Dec 5, 2023
christian-bromann
added a commit
that referenced
this issue
Dec 6, 2023
christian-bromann
added a commit
that referenced
this issue
Dec 6, 2023
christian-bromann
added a commit
that referenced
this issue
Dec 6, 2023
christian-bromann
added a commit
that referenced
this issue
Dec 6, 2023
christian-bromann
added a commit
that referenced
this issue
Dec 6, 2023
A fix for this issue was released in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Stencil Version
4.7
Current Behavior
In Stencil 4.6 and 4.7, Only the first stylesheet in
styleUrls
is being included in the component CSS. I'm not using modes (per the similar open issue), just trying to reference multiple stylesheets that were generated from a separate build process - all placed in the component directory.If I replace this with a single
styleUrl
(that's .scss), referencing those same multiple .scss files via@use
, it loads them all correctly.Expected Behavior
Add all CSS specified in the
styleUrls
array to the component and DOM, not just the first.System Info
Steps to Reproduce
Code Reproduction URL
https://github.com/
Additional Information
This is pretty straight forward, no time to make a repo to demo it.
The text was updated successfully, but these errors were encountered: