astro/.changeset/happy-cougars-scream.md
Nate Moore 2671b6f9cc
Skip scoped astro-* class if Astro component has no <style> (#497)
* feat(#472): do not inject `astro-xxx` class for components without styles

* test: add test for skipped scoped classes

* chore: add changeset

* Update happy-cougars-scream.md
2021-06-18 19:56:14 -05:00

5 lines
149 B
Markdown

---
'astro': patch
---
Fix [472](https://github.com/snowpackjs/astro/issues/472) by not injecting `astro-*` scoped class unless it is actually used