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

Commit

Permalink
Fix CSSMin
Browse files Browse the repository at this point in the history
Fix relative paths for CSSMin.
  • Loading branch information
ericmann committed Apr 25, 2013
1 parent 6e997da commit c9022aa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions root/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,14 @@ module.exports = function( grunt ) {
minify: {
expand: true,
{% if ('sass' === css_type || 'less' === css_type) { %}
src: ['assets/css/*.src.css'],
cwd: 'assets/css/',
src: ['{%= js_safe_name %}.src.css'],
{% } else { %}
src: ['assets/css/src/*.css'],
cwd: 'assets/css/src/',
src: ['{%= js_safe_name %}.css'],
{% } %}
dest: 'assets/css/',
ext: '*.min.css'
ext: '.min.css'
}
},
watch: {
Expand Down

0 comments on commit c9022aa

Please sign in to comment.