The_frontender
The_frontender

Reputation: 11

How to tree shake unused SCSS classes in Astro

I'm using Bootstrap in Astro, importing the modules I need and customising them in SCSS. But I have noticed that the site is noticeably slow due to Bootstrap's bloat.

How can I tree shake the unused SCSS classes and use all else?

Upvotes: 0

Views: 25

Answers (0)

Related Questions