【发布时间】:2013-11-19 19:57:23
【问题描述】:
我正在使用 grunt-contrib-htmlmin 来缩小骨干/underscorejs 项目中的 html,但是,当我在具有 的任何 underscorejs 模板上运行 grunt-contrib-htmlmin 时,任务输出解析错误。有没有办法 grunt-contrib-htmlmin 可以忽略 中的文本?
【问题讨论】:
-
这并不能解决 htmlmin 的实际问题,但至少您可以将分隔符从 documentcloud.github.io/underscore/#template
-
如何将
-
OP,你找到解决方法了吗?
-
我没有。我仍在寻找解决方案。
标签: javascript underscore.js gruntjs