Created
April 22, 2014 23:19
-
-
Save beacrea/11197725 to your computer and use it in GitHub Desktop.
grunt usemin fix on css assets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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