Grunt stylus with smartness

This commit is contained in:
Vit Brunner
2014-11-11 23:48:41 +01:00
parent 796b71a24f
commit bca9eaa370
+5 -10
View File
@@ -139,16 +139,6 @@ module.exports = (grunt) ->
}
}
stylus: {
main: {
expand: true
cwd: 'source'
src: '**/*.styl'
dest: 'build'
ext: '.css'
}
}
uglify: {
min: {
files: {
@@ -210,6 +200,11 @@ module.exports = (grunt) ->
ext: '.html'
})
grunt.config 'stylus', add([['main', {
src: '**/*.styl'
ext: '.css'
}]])
# Load tasks
grunt.loadNpmTasks('grunt-contrib-coffee');
grunt.loadNpmTasks('grunt-contrib-connect');