-
-
Notifications
You must be signed in to change notification settings - Fork 18
[swc-angular-plugin] styleUrls is stripped, but not styles #498
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededswc-angularswc-angular-plugin
Description
Looks like the plugin transforms styleUrls rather than processing the styles, that makes sense as a perf optimisation. I think it should also remove any styles defined at the component level, just to behave in a more consistent way. This would also fix the issues I'm seeing because inlined SASS isn't transformed.
I noticed that there might be some changes coming to style handing in #410, but if that is going to be configurable, I think it would still make sense for this behaviour to be consistent.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededswc-angularswc-angular-plugin