diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 803f188..de459a1 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -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');