Change navigation structure
Change-Id: I12c819293ce1eda188dc9f257ae9370f1b73cb18
Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
diff --git a/gulp_tasks/webapp.js b/gulp_tasks/webapp.js
index e514543..6a8b99e 100644
--- a/gulp_tasks/webapp.js
+++ b/gulp_tasks/webapp.js
@@ -45,6 +45,18 @@
.pipe(gulp.dest(options.srcFolderPath + '/styles'))
});
+gulp.task('webapp:minifyvendorjs', function () {
+ return gulp
+ .src(options.bowerFolderPath + '/**/*.js')
+ .pipe(uglify({
+ preserveComments: 'false'
+ }))
+ .pipe(rename({suffix: '.min'}))
+ .pipe(gulp.dest(function(file) {
+ return file.base;
+ }))
+});
+
// ----- To .temp from app
gulp.task('webapp:copyjs', function () {
return gulp.src(options.srcFolderPath + '/**/*.js')
@@ -111,6 +123,7 @@
return runSequence(
'webapp:clean',
'webapp:sasscompile',
+ 'webapp:minifyvendorjs',
[
'webapp:copyjs',
'webapp:copycss',