Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我继承了一个 Angular1 项目,其中包含需要清理的臃肿 SASS 文件。有没有办法自动删除未使用的 SASS 语句,无论是从生产中(在构建期间)还是理想情况下,更永久地从开发中删除。我知道有像 UNCSS 这样的工具可以很好地处理静态 HTML 页面,但它似乎不能很好地处理动态内容。
缺少手动修复,关于清理和删除未使用的 SASS 语句有什么可以做的吗?