Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
htmlmin task options
htmlmin: {
dist: {
options: {
collapseBooleanAttributes: true,
collapseWhitespace: false,
conservativeCollapse: false,
removeAttributeQuotes: false,
removeCommentsFromCDATA: false,
removeEmptyAttributes: false,
removeOptionalTags: false,
removeRedundantAttributes: false,
useShortDoctype: true
},
files: [{
expand: true,
cwd: '.tmp',
src: '{,*/}*.html',
dest: '<%= config.dist %>'
}]
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.