Skip to content

Instantly share code, notes, and snippets.

@beacrea
Created April 22, 2014 23:19
Show Gist options
  • Save beacrea/11197725 to your computer and use it in GitHub Desktop.
Save beacrea/11197725 to your computer and use it in GitHub Desktop.
grunt usemin fix on css assets
I use sass and only I added image dist path to assetsDirs array.
usemin image css path works like so:
usemin: {
options: {
assetsDirs: ['<%= yeoman.dist %>', '<%= yeoman.dist %>/images']
},
html: ['<%= yeoman.dist %>/{,*/}*.html'],
css: ['<%= yeoman.dist %>/styles/{,*/}*.css']
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment