Add ngAnnotate task.

This commit is contained in:
Alexis Lahouze 2016-02-18 15:53:28 +01:00
parent 4ccb9891a8
commit 726072ed45
3 changed files with 15 additions and 1 deletions

View File

@ -64,8 +64,9 @@ module.exports = function(grunt) {
'useminPrepare',
'copy:dist',
'copy:styles',
'concat:generated',
'cssmin:generated',
'concat:generated',
'ngAnnotate',
'uglify:generated',
'filerev',
'usemin'

View File

@ -0,0 +1,12 @@
'use strict';
module.exports = {
dist: {
files: [{
expand: true,
cwd: '.tmp/concat/js',
src: '*.js',
dest: '.tmp/concat/js'
}]
}
};

View File

@ -19,6 +19,7 @@
"grunt-include-source": "^0.7.1",
"grunt-jscs": "^2.7.0",
"grunt-newer": "^1.1.1",
"grunt-ng-annotate": "^1.0.1",
"grunt-shell": "^1.1.2",
"grunt-usemin": "^3.1.1",
"grunt-wiredep": "^2.0.0",