Skip to content
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

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

Open
phenomnomnominal opened this issue Jul 24, 2024 · 0 comments
Open

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

phenomnomnominal opened this issue Jul 24, 2024 · 0 comments

Comments

@phenomnomnominal
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant