$ grunt
Running "copy:html"(copy) task
Copied 1 file
Running "useminPrepare:html"(useminPrepare) task
Going through index.html to update the config
Looking for build script HTML comment blocks
Configuration is now:
concat:
{ generated:
{ files:
[{ dest: '.tmp/concat/assets/css/style.min.css',
src: ['assets/css/style.css']},
{ dest: '.tmp/concat/assets/js/optimized.js',
src: ['assets/js/foo.js', 'assets/js/bar.js']}]}} uglify:
{ generated:
{ files:
[{ dest: 'dist/assets/js/optimized.js',
src: ['.tmp/concat/assets/js/optimized.js']}]}} cssmin:
{ generated:
{ files:
[{ dest: 'dist/assets/css/style.min.css',
src: ['.tmp/concat/assets/css/style.min.css']}]}}Running "concat:generated"(concat) task
File ".tmp/concat/assets/css/style.min.css" created.
File ".tmp/concat/assets/js/optimized.js" created.
Running "uglify:generated"(uglify) task
File dist/assets/js/optimized.js created: 75 B → 58 B
Running "cssmin:generated"(cssmin) task
File dist/assets/css/style.min.css created: 48 B → 39 B
Running "usemin:html"(usemin) task
Processing as HTML - dist/index.html
Update the HTML to reference our concat/min/revved script files
Update the HTML with the new css filenames
Update the HTML with the new img filenames
Update the HTML with data-main tags
Update the HTML with data-* tags
Update the HTML with background imgs, case there is some inline style
Update the HTML with anchors images
Update the HTML with reference in input
Done, without errors.