【文件属性】:
文件名称:grunt-strip-css-comments:从CSS中删除注释
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-26 08:04:15
JavaScript
grunt-strip-css-评论
使用从CSS中
安装
$ npm install --save-dev grunt-strip-css-comments
用法
require ( 'load-grunt-tasks' ) ( grunt ) ; // npm install --save-dev load-grunt-tasks
grunt . initConfig ( {
stripCssComments : {
dist : {
files : {
'dist/app.css' : 'src/app.css'
}
}
}
} ) ;
grunt . registerTask ( 'default' , [ 'stripCssComments' ] ) ;
选项
请参阅strip-css-comments。
执照
麻省理工学院:copyright:
【文件预览】:
grunt-strip-css-comments-main
----.gitattributes(12B)
----.github()
--------workflows()
----gruntfile.js(498B)
----tasks()
--------strip-css-comments.js(351B)
----license(1KB)
----test()
--------test.js(301B)
--------fixture()
----.editorconfig(190B)
----.gitignore(13B)
----readme.md(652B)
----package.json(896B)