Guest User

Untitled

a guest
Dec 17th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. grunt.loadNpmTasks('grunt-contrib-less');
  2. grunt.loadNpmTasks('grunt-contrib-watch');
  3.  
  4. grunt.initConfig({
  5. pkg: grunt.file.readJSON('package.json'),
  6. less: {
  7. options: {
  8. paths: 'less',
  9. yuicompress: true
  10. },
  11. files: {
  12. 'styles.css': 'less/button.less'
  13. }
  14. },
  15.  
  16. watch: {
  17. less: {
  18. files: 'less/*.less',
  19. tasks: 'less'
  20. }
  21. }
  22. });
Add Comment
Please, Sign In to add comment