Looking for the right regular expression(s) to mirror the folder structure from "app" to the "dist" folder.
E.g. app/components/search/a.html app/components/search/b.html etc.
To: dist/components/search/a.html dist/components/search/b.html etc.
My current grunt htmlmin entry:
htmlmin: {
dist: {
options: {
collapseWhitespace: true,
collapseBooleanAttributes: true,
removeCommentsFromCDATA: true,
removeOptionalTags: true
},
files: {
'<%= yeoman.dist %>/components/search' : '<%= yeoman.app %>/components/search/**/*.html'
}
}
},
Have tried several other combinations unsuccessfully.