Skip to content

Commit

Permalink
Switch to grunt-ng-annotate as grunt-ngmin is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
timothykang committed Aug 27, 2014
1 parent 7f803cc commit 06c8115
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ module.exports = function(grunt) {
src: '<%= buildDir %>index.html',
},

ngmin: {
ngAnnotate: {
build: {
files: {
'<%= buildDir %>js/app.js': [
Expand Down Expand Up @@ -328,7 +328,7 @@ module.exports = function(grunt) {
});

grunt.registerTask('build', [
'clean:build', 'sass:build', 'sync:static', 'ngmin', 'ngtemplates',
'clean:build', 'sass:build', 'sync:static', 'ngAnnotate', 'ngtemplates',
'uglify', 'concat:build', 'htmlbuild:build', 'clean:artifacts',
]);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"grunt-html-build": "^0.3.2",
"grunt-karma": "^0.8.2",
"grunt-livereload-snippet": "https://github.com/timdouglas/grunt-livereload-snippet/tarball/master",
"grunt-ngmin": "^0.0.3",
"grunt-ng-annotate": "^0.3.2",
"grunt-sync": "^0.0.6",
"jit-grunt": "^0.7.0",
"karma": "^0.12.16",
Expand Down

0 comments on commit 06c8115

Please sign in to comment.