【发布时间】:2021-03-08 20:42:19
【问题描述】:
我正在尝试使用 File Watcher 缩小我的 HTML 文档,但它什么也没做。
我尝试用谷歌搜索我的问题并从 SO 中找到了这个 Link,我尝试了俄语解决方案,但对我也不起作用。
另外,工作目录是$FileDir$
【问题讨论】:
我正在尝试使用 File Watcher 缩小我的 HTML 文档,但它什么也没做。
我尝试用谷歌搜索我的问题并从 SO 中找到了这个 Link,我尝试了俄语解决方案,但对我也不起作用。
另外,工作目录是$FileDir$
【问题讨论】:
什么不适合你? this SO link 的设置适用于我最新的 html-minifier 版本:
参数: $FileName$ --collapse-boolean-attributes --collapse-whitespace --html5 --remove-attribute-quotes --remove-comments --remove-empty-attributes --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-style-link-type-attributes --remove-tag-whitespace --sort-attributes --sort-class-name --trim-custom-fragments --use-short-doctype --minify-js -o $FileNameWithoutExtension$.min.html
要刷新的输出路径: $FileNameWithoutExtension$.min.html
工作目录: $FileDir$
【讨论】: