【文件属性】:
文件名称:gulp-remove-html-comments:删除 html 中的注释
文件大小:6KB
文件格式:ZIP
更新时间:2021-06-04 12:25:14
HTML
gulp-remove-html-comments
使用
应在 remove-html-comments上报告输出。
安装
$ npm install --save-dev gulp-remove-html-comments
用法
var gulp = require ( 'gulp' ) ;
var removeHtmlComments = require ( 'gulp-remove-html-comments' ) ;
gulp . task ( 'default' , function ( ) {
return gulp . src ( 'src/*.html' )
. pipe ( removeHtmlComments ( ) )
. pipe ( gulp . dest ( 'dist' ) ) ;
} ) ;
执照
麻省理工学院 :copyright:
【文件预览】:
gulp-remove-html-comments-master
----.jshintrc(197B)
----.gitattributes(12B)
----.travis.yml(72B)
----test()
--------expected.html(899B)
--------test.js(701B)
--------fixture.html(2KB)
----.jscsrc(93B)
----.editorconfig(231B)
----.gitignore(13B)
----index.js(1KB)
----readme.md(814B)
----package.json(773B)