Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
feat: add rollup option to export styles #453
See #451 for more information.
This pull request adds a
One specific example is gaining true style scoping by using Shadow DOM where only styles within the shadow tree will apply to the elements in the shadow tree. Making the styles available in scripts allows a developer to embed the styles as a templated part of each Web Component instance.
@@ Coverage Diff @@ ## master #453 +/- ## ========================================== + Coverage 99% 99.01% +0.01% ========================================== Files 31 31 Lines 800 810 +10 Branches 124 128 +4 ========================================== + Hits 792 802 +10 Misses 8 8
If the configuration
Depending on how far you want to go with protecting users from their own mistakes, I think an implementation solution could lie in conditional defaults. Meaning, e.g. if