-
-
Notifications
You must be signed in to change notification settings - Fork 147
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
StyleConfiguration.shadowDom shared styles not working with Parcel projects #1704
Comments
@pesaarel Thanks for the report. I will look into this. |
I have the same problem. |
It looks like it breaks with parcel V2.8.0. Where I've downgraded to parcel V2.7.0. That solved the problem for now. |
Okay, good to know! I'll try that when I have time. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃悰 Bug Report
HTML elements not styled with shadowDOM shared styles when project uses parcel.
馃 Expected Behavior
HTML elements in every view are styled with shared styles even when project uses shadowDOM and Parcel.
馃槸 Current Behavior
-> Elements at index.html are styled of course, but elements at my-app.html aren't.
No errors in developer console
However shared styles seem to work when project is created with otherwise same configuration but select Webpack instead of Parcel.
馃拋 Possible Solution
馃敠 Context
I wan't to use Parcel and I'm unable to style elements with shared styles.
Workaround is to import all needed css files to views (or use Webpack instead of Parcel).
馃捇 Code Sample
Repo with Parcel:
https://github.com/pesaarel/dummy-aurelia2-app-parcel.git
Result:
Repo with Webpack:
https://github.com/pesaarel/dummy-aurelia2-app-webpack.git
Result:
馃實 Your Environment
The text was updated successfully, but these errors were encountered: