Initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
|
||||
/**
|
||||
* HTML minifier grunt task for CartoDB.js
|
||||
*
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
task: function() {
|
||||
return {
|
||||
dist: {
|
||||
options: {
|
||||
collapseWhitespace: true,
|
||||
collapseBooleanAttributes: true,
|
||||
removeAttributeQuotes: true,
|
||||
removeRedundantAttributes: true
|
||||
},
|
||||
files: [{
|
||||
expand: true,
|
||||
cwd: '<%= config.dist %>/<%= config.app %>',
|
||||
src: '**/*.html',
|
||||
dest: '<%= config.dist %>/<%= config.app %>'
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user