Modularize grunt tasks

This commit is contained in:
Rashid Khan
2013-11-14 16:07:14 -07:00
parent 2e7a2d7410
commit ec964a13b9
18 changed files with 418 additions and 381 deletions

18
tasks/options/htmlmin.js Normal file
View File

@ -0,0 +1,18 @@
module.exports = function(config) {
return {
build: {
options:{
removeComments: true,
collapseWhitespace: true
},
expand: true,
cwd: '<%= tempDir %>',
src: [
'index.html',
'app/panels/**/*.html',
'app/partials/**/*.html'
],
dest: '<%= tempDir %>'
}
};
};