Separate: task 'UGLIFY' and create module for 'load-config-grunt'

pull/1082/head
Arno Roldao Junior 2016-06-23 10:26:11 -03:00
parent 5ba76d1270
commit d0c2e69724
1 changed files with 15 additions and 0 deletions

15
grunt-tasks/uglify.js Normal file
View File

@ -0,0 +1,15 @@
'use strict';
module.exports = function (grunt) {
return {
options: {
mangle: true,
preserveComments: 'some'
},
my_target: {
files: {
'dist/js/app.min.js': ['dist/js/app.js']
}
}
};
};