Skip to content

Commit

Permalink
fix(app-dependency): change ngmin to ng-annotate
Browse files Browse the repository at this point in the history
ngmin is now deprecated, the author has suggested ng-annotate as a replacement

Changes:
- switch dev-dependency from grunt-ngmin to grunt-ng-annotate
- use ngAnnotate config instead of ngmin
  • Loading branch information
kingcody committed Jul 20, 2014
1 parent 0351a44 commit dd023fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ module.exports = function (grunt) {

// Allow the use of non-minsafe AngularJS files. Automatically makes it
// minsafe compatible so Uglify does not destroy the ng references
ngmin: {
ngAnnotate: {
dist: {
files: [{
expand: true,
Expand Down Expand Up @@ -782,7 +782,7 @@ module.exports = function (grunt) {
'autoprefixer',
'ngtemplates',
'concat',
'ngmin',
'ngAnnotate',
'copy:dist',
'cdnify',
'cssmin',
Expand Down
2 changes: 1 addition & 1 deletion app/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"grunt-contrib-less": "^0.11.0",<% } %>
"grunt-google-cdn": "~0.4.0",
"grunt-newer": "~0.7.0",
"grunt-ngmin": "~0.0.3",
"grunt-ng-annotate": "^0.2.3",
"grunt-rev": "~0.1.0",
"grunt-svgmin": "~0.4.0",
"grunt-usemin": "~2.1.1",
Expand Down

0 comments on commit dd023fa

Please sign in to comment.