提交 2794881f 编写于 作者: B bryk

Use conservative html whitespace minification to make prod and dev builds look the same

上级 f6069b67
......@@ -73,6 +73,7 @@ gulp.task('build-frontend', ['assets', 'index:prod'], function() {
.pipe(gulpHtmlmin({
removeComments: true,
collapseWhitespace: true,
conservativeCollapse: true,
}))
.pipe(htmlFilter.restore)
.pipe(gulp.dest(conf.paths.distPublic));
......
......@@ -124,6 +124,7 @@ gulp.task('angular-templates', function() {
.pipe(gulpHtmlmin({
removeComments: true,
collapseWhitespace: true,
conservativeCollapse: true,
}))
.pipe(
gulpAngularTemplatecache(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册