47 .pipe(plugins.minifyCss({keepBreaks:true})) |
47 .pipe(plugins.minifyCss({keepBreaks:true})) |
48 .pipe(plugins.rename(clientBaseName+'.min.css')) |
48 .pipe(plugins.rename(clientBaseName+'.min.css')) |
49 .pipe(gulp.dest(staticFolder+'/css')) |
49 .pipe(gulp.dest(staticFolder+'/css')) |
50 .pipe(plugins.filesize()); |
50 .pipe(plugins.filesize()); |
51 }); |
51 }); |
52 |
|
53 var vendorJSsrc = [ |
|
54 '!./bower_components/**/*.min.js', |
|
55 '!./bower_components/bootstrap/Gruntfile.js', |
|
56 '!./bower_components/bootstrap/grunt/*', |
|
57 '!./bower_components/bootstrap/js/*', |
|
58 '!./bower_components/jquery/src/**/*', |
|
59 '!./bower_components/angular-bootstrap/ui-bootstrap.js', |
|
60 './bower_components/jquery/dist/jquery.js', |
|
61 './bower_components/angular/angular.js', |
|
62 './bower_components/**/*.js' |
|
63 ]; |
|
64 |
52 |
65 gulp.task('vendorJS', function(){ |
53 gulp.task('vendorJS', function(){ |
66 //concatenate vendor JS files |
54 //concatenate vendor JS files |
67 return gulp.src(mainBowerFiles()) |
55 return gulp.src(mainBowerFiles()) |
68 .pipe(plugins.concat('lib.js')) |
56 .pipe(plugins.concat('lib.js')) |