Skip to content

Instantly share code, notes, and snippets.

@danielrvt
Last active August 29, 2015 14:16
Show Gist options
  • Save danielrvt/d2658c8e615b75d5c77a to your computer and use it in GitHub Desktop.
Save danielrvt/d2658c8e615b75d5c77a to your computer and use it in GitHub Desktop.
less: {
compile: {
options: {
paths: ["bower_components/bootstrap/less"]
},
files: {
"app/styles/style.css": "app/styles/style.less"
}
}
}
less: {
files: ['<%= config.app %>/styles/{,*/}*.less'],
tasks: ['less']
},
styles: {
files: ['<%= config.app %>/styles/{,*/}*.css'],
tasks: ['newer:copy:styles', 'autoprefixer']
}
grunt.loadNpmTasks('grunt-contrib-less');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment