Skip to content

Commit 7819449

Browse files
committed
Update ngmin to ng-annotate cause of warning during npm install
1 parent c5f415a commit 7819449

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Gruntfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,10 @@ module.exports = function (grunt) {
306306
}
307307
},
308308

309-
// ngmin tries to make the code safe for minification automatically by
309+
// ngAnnotate tries to make the code safe for minification automatically by
310310
// using the Angular long form for dependency injection. It doesn't work on
311311
// things like resolve or inject so those have to be done manually.
312-
ngmin: {
312+
ngAnnotate: {
313313
dist: {
314314
files: [{
315315
expand: true,
@@ -454,7 +454,7 @@ module.exports = function (grunt) {
454454
'concurrent:dist',
455455
'autoprefixer',
456456
'concat',
457-
'ngmin',
457+
'ngAnnotate',
458458
'copy:dist',
459459
// 'cdnify',
460460
'cssmin',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
"grunt-karma": "^0.9.0",
4848
"grunt-loopback-angular": "^1.1.0",
4949
"grunt-newer": "^0.7.0",
50+
"grunt-ng-annotate": "^0.4.0",
5051
"grunt-ng-constant": "^1.0.0",
51-
"grunt-ngmin": "^0.0.3",
5252
"grunt-svgmin": "^1.0.0",
5353
"grunt-usemin": "^2.4.0",
5454
"grunt-wiredep": "^1.9.0",

0 commit comments

Comments
 (0)