1 | module.exports = function (grunt) {
|
2 |
|
3 | grunt.initConfig({
|
4 | ngAnnotate: {
|
5 | app: {
|
6 | src: './dist/rpc-client-angular-bundle.js',
|
7 | dest: './dist/rpc-client-angular-bundle.annotated.js'
|
8 | }
|
9 | },
|
10 | uglify: {
|
11 | dist: {
|
12 | files: {
|
13 | 'dist/rpc-client-angular-bundle.min.js': 'dist/rpc-client-angular-bundle.annotated.js'
|
14 | }
|
15 | }
|
16 | }
|
17 | });
|
18 |
|
19 | grunt.loadNpmTasks('grunt-contrib-uglify');
|
20 | grunt.loadNpmTasks('grunt-ng-annotate');
|
21 |
|
22 | grunt.registerTask('default', ['ngAnnotate', 'uglify']);
|
23 |
|
24 | }; |
\ | No newline at end of file |