エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
jonathanepollack/gulp-minify-html · GitHub
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
jonathanepollack/gulp-minify-html · GitHub
Usage var minifyHTML = require('gulp-minify-html'); gulp.task('minify-html', function() { var opt... Usage var minifyHTML = require('gulp-minify-html'); gulp.task('minify-html', function() { var opts = {comments:true,spare:true}; gulp.src('./static/html/*.html') .pipe(minifyHTML(opts)) .pipe(gulp.dest('./dist/')) }); Options All options are false by default. empty - do not remove empty attributes cdata - do not strip CDATA from scripts comments - do not remove comments conditionals - do not remov

