Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Exemplo mínimo de Grunt.js pro blog da Caelum
module.exports = function(grunt) {
grunt.initConfig({
uglify: {
'build/teste.js': 'src/teste.js'
},
less: {
'build/estilo.css': ['src/*.less']
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.registerTask('default', ['uglify', 'less']);
};
{
"name": "grunt-demo",
"version": "0.0.1",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-less": "~0.6.0",
"grunt-contrib-uglify": "~0.2.2"
}
}
@dossantoseder

This comment has been minimized.

Copy link

commented Mar 10, 2016

11313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.