Skip to content

[swc-angular-plugin] styleUrls is stripped, but not styles #498

@phenomnomnominal

Description

@phenomnomnominal

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions