What’s the best way to clean up unused scss on my sage site?
Delete it.
If you’re asking about a way to automate removal of unused CSS from a framework on build, that will really be dependent on your framework and some other factors. PurgeCSS is a useful tool for this. Tailwind has a built-in system to handle this. Generally, though, there isn’t a blanket approach to how to do this: It depends on how you built your SCSS and how your site works.
1 Like
This topic was automatically closed after 42 days. New replies are no longer allowed.