diff --git a/Gruntfile.js b/Gruntfile.js index 23fff3e..a5550d2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -64,8 +64,9 @@ module.exports = function(grunt) { 'useminPrepare', 'copy:dist', 'copy:styles', - 'concat:generated', 'cssmin:generated', + 'concat:generated', + 'ngAnnotate', 'uglify:generated', 'filerev', 'usemin' diff --git a/grunt-config/ngAnnotate.js b/grunt-config/ngAnnotate.js new file mode 100644 index 0000000..1d11f06 --- /dev/null +++ b/grunt-config/ngAnnotate.js @@ -0,0 +1,12 @@ +'use strict'; + +module.exports = { + dist: { + files: [{ + expand: true, + cwd: '.tmp/concat/js', + src: '*.js', + dest: '.tmp/concat/js' + }] + } +}; diff --git a/package.json b/package.json index 2141cb0..4a8c6f5 100644 --- a/package.json +++ b/package.json @@ -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",