diff --git a/gulpfile.js b/gulpfile.js index ebf7fe3..06ee8e1 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -42,7 +42,7 @@ gulp.task("html", function () { return gulp .src("src/*.html") .pipe(fileinclude()) //替换头部底部 - .pipe(minifyHtml()) //执行压缩 + .pipe(minifyHtml({quotes:true})) //执行压缩 .pipe(gulp.dest("dist")) .pipe(connect.reload()); });