summaryrefslogtreecommitdiffstats
path: root/gulp_tasks/minifyvendors.js
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-11-06 16:47:22 -0600
committerGunnar Mills <gmills@us.ibm.com>2018-11-06 16:58:22 -0600
commitaf0e3b4783aa19a09ab1ae0bb29bbaedf0fd58d2 (patch)
tree3bf48276fe2338515c33ad513d4b2de9af0eaa84 /gulp_tasks/minifyvendors.js
parent569ccf66e58aacd50eaf53518c50c0ad4d448333 (diff)
downloadphosphor-webui-af0e3b4783aa19a09ab1ae0bb29bbaedf0fd58d2.tar.gz
phosphor-webui-af0e3b4783aa19a09ab1ae0bb29bbaedf0fd58d2.zip
Remove Gulp
Moved to webpack here: https://github.com/openbmc/phosphor-webui/commit/bbcf670a1c8c7463556eb006bc8f6bbfe29af3e4 Gulp is no longer used and would not work without some restructuring of the app. Tested: Built the app and scped onto a Witherspoon. Change-Id: Id2f5feff2608c33460dd4276a5293973dfe8e9c8 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'gulp_tasks/minifyvendors.js')
-rw-r--r--gulp_tasks/minifyvendors.js32
1 files changed, 0 insertions, 32 deletions
diff --git a/gulp_tasks/minifyvendors.js b/gulp_tasks/minifyvendors.js
deleted file mode 100644
index 8c429a3..0000000
--- a/gulp_tasks/minifyvendors.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/*eslint-env node */
-/*global require: true, module: true */
-
-'use strict';
-
-var options = require('../gulp-options.js'), gulp = require('gulp'),
-
- // Base dependencies
- clean = require('gulp-clean'), rename = require('gulp-rename'),
-
- // Classical gulp dependencies
- uglify = require('gulp-uglify');
-
-var runSequence = require('run-sequence');
-
-gulp.task('minifyvendorjs:clean', function() {
- return gulp.src(options.bowerFolderPath + '/**/*.min.js', {read: false})
- .pipe(clean());
-});
-
-gulp.task('minifyvendorjs:minify', function() {
- return gulp.src(options.bowerFolderPath + '/**/*.js')
- .pipe(uglify({preserveComments: 'false'}))
- .pipe(rename({suffix: '.min'}))
- .pipe(gulp.dest(function(file) {
- return file.base;
- }));
-});
-
-module.exports = function(callback) {
- return runSequence('minifyvendorjs:clean', 'minifyvendorjs:minify', callback);
-};
OpenPOWER on IntegriCloud