"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-concat": "^0.5.1",
"grunt-contrib-cssmin": "^0.14.0...要用的工具是 Grunt,使用到的插件如下:
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-clean": "^1.0.0",...', [
'copy:html',
'usemin:html',
'clean:tmp'
]);
未解决的问题:如上代码,我把它分成了三份分别按步骤运行,但是放在一个任务里却会遇到问题,比如...使用到的插件如下:
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-clean": "^0.7.0",
"grunt-contrib-copy...// 步骤一:对图片进行打包
grunt.registerTask('img', [
'clean:dist',
'sprite',
'copy:images',
'imagemin',