SEQUE o seu Gruntfile

Até recentemente, eu carregava tarefas do Grunt uma por linha – como sugerido pela documentação . Mas logo acabei com uma lista de tarefas desagradável. grunt.loadNpmTasks(‘grunt-contrib-jshint’);grunt.loadNpmTasks(‘grunt-contrib-watch’);grunt.loadNpmTasks(‘grunt-contrib-requirejs’);grunt.loadNpmTasks(‘grunt-contrib-connect’);grunt.loadNpmTasks(‘grunt-contrib-concat’);grunt.loadNpmTasks(‘grunt-contrib-uglify’);grunt.loadNpmTasks(‘grunt-contrib-less’); No entanto, recentemente me …

Continuar lendo