Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- grunt.loadNpmTasks('grunt-contrib-less');
- grunt.loadNpmTasks('grunt-contrib-watch');
- grunt.initConfig({
- pkg: grunt.file.readJSON('package.json'),
- less: {
- options: {
- paths: 'less',
- yuicompress: true
- },
- files: {
- 'styles.css': 'less/button.less'
- }
- },
- watch: {
- less: {
- files: 'less/*.less',
- tasks: 'less'
- }
- }
- });
Add Comment
Please, Sign In to add comment