Skip to content

Commit

Permalink
Use grunt-contrib-uglify
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kolárik committed Jul 9, 2014
1 parent 5b432d3 commit 9bc228a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions grunt/config/uglify.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = [
{ dest: 'rvc.min.js', src: 'rvc.js' }
];
3 changes: 2 additions & 1 deletion grunt/tasks/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ module.exports = function ( grunt ) {
'requirejs',
//'qunit',
'concat',
'jsbeautifier'
'jsbeautifier',
'uglify'
]);

};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"grunt-contrib-requirejs": "~0.4.3",
"grunt-contrib-jshint": "~0.9.2",
"grunt-contrib-concat": "~0.4.0",
"grunt-contrib-uglify": "0.5.0",
"amdclean": "~1.5.0",
"grunt-jsbeautifier": "~0.2.6",
"grunt-contrib-qunit": "~0.4.0",
Expand Down

0 comments on commit 9bc228a

Please sign in to comment.