Add ngAnnotate task.
This commit is contained in:
parent
4ccb9891a8
commit
726072ed45
@ -64,8 +64,9 @@ module.exports = function(grunt) {
|
||||
'useminPrepare',
|
||||
'copy:dist',
|
||||
'copy:styles',
|
||||
'concat:generated',
|
||||
'cssmin:generated',
|
||||
'concat:generated',
|
||||
'ngAnnotate',
|
||||
'uglify:generated',
|
||||
'filerev',
|
||||
'usemin'
|
||||
|
12
grunt-config/ngAnnotate.js
Normal file
12
grunt-config/ngAnnotate.js
Normal file
@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
dist: {
|
||||
files: [{
|
||||
expand: true,
|
||||
cwd: '.tmp/concat/js',
|
||||
src: '*.js',
|
||||
dest: '.tmp/concat/js'
|
||||
}]
|
||||
}
|
||||
};
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user