Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

Commit

Permalink
Fix grunt build task useminPrepare and imagemin errors
Browse files Browse the repository at this point in the history
On the grunt build task, grunt was issuing the following errors:
Running "useminPrepare:html" (useminPrepare) task
Warning: An error occurred while processing a template (Unexpected token )). Use --force to continue.

Running "imagemin:dist" (imagemin) task
Warning: An error occurred while processing a template (Unexpected token )). Used --force, continuing.

The bug was caused by additional '%' characters added to the closing template
stings on the imagemin task in the gruntfile.

Resolves: #632
  • Loading branch information
tsck committed Jan 22, 2016
1 parent aa862f4 commit 380823e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ module.exports = function (grunt) {
dest: '<%%= config.dist %>/images'
},{
expand: true,
cwd: '<%%= config.app %%>',
cwd: '<%%= config.app %>',
src: '*.{ico,png}',
dest: '<%%= config.dist %%>'
dest: '<%%= config.dist %>'
}]
}
},
Expand Down

0 comments on commit 380823e

Please sign in to comment.