Skip to content

Instantly share code, notes, and snippets.

@ahomu
Created August 17, 2012 19:13
Show Gist options
  • Save ahomu/3381712 to your computer and use it in GitHub Desktop.
Save ahomu/3381712 to your computer and use it in GitHub Desktop.
options (grunt-stylus)
// https://github.com/sapegin/grunt-stylus
grunt.initConfig({
stylus: {
main: {
files: {
'dist/css/main.css' : 'src/stylus/main.styl'
},
watch: ['src/stylus/**/*.styl'],
options: {
'include css': true,
compress : false,
urlfunc : 'embedurl',
paths : ['src/stylus']
}
}
},
watch: {
stylus: {
files: ['<config:stylus.main.watch>'],
tasks: 'stylus'
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment