有谁知道如何缩小我的 Thymleaf 生成的 HTML?
当我使用 JSP 时,我可以在这个依赖项中使用 googleCompressor:
<dependency>
<groupId>com.googlecode.htmlcompressor</groupId>
<artifactId>htmlcompressor</artifactId>
<version>1.5.2</version>
<optional>true</optional>
</dependency>
Run Code Online (Sandbox Code Playgroud)
但是现在我搬到了 Thymeleaf,我不知道如何缩小我的 Thymeleaf 页面。