From 31309a5ca28facb4ab15fc0a38e9509b859b21f9 Mon Sep 17 00:00:00 2001 From: Kite Date: Wed, 12 Dec 2018 20:12:06 +0900 Subject: [PATCH] Remove gulp-uglify --- gulp_tasks/webpack.js | 2 -- package-lock.json | 50 +------------------------------------------ package.json | 3 +-- 3 files changed, 2 insertions(+), 53 deletions(-) diff --git a/gulp_tasks/webpack.js b/gulp_tasks/webpack.js index 54f33c9..abffea8 100644 --- a/gulp_tasks/webpack.js +++ b/gulp_tasks/webpack.js @@ -4,7 +4,6 @@ const config = require('../frasco.config.js') const gulp = require('gulp'); const named = require('vinyl-named'); const plumber = require('gulp-plumber'); -const uglify = require('gulp-uglify'); const webpackStream = require('webpack-stream'); const webpack = require('webpack'); @@ -24,7 +23,6 @@ gulp.task('webpack', function () { .pipe(named()) .pipe(babel()) .pipe(webpackStream(config.webpack, webpack)) - .pipe(uglify()) .pipe(gulp.dest(config.assets + '/' + config.js.dest)); }); diff --git a/package-lock.json b/package-lock.json index 385aad6..2eb4177 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "frasco", - "version": "0.8.4", + "version": "0.8.5", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -6289,29 +6289,6 @@ } } }, - "gulp-uglify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/gulp-uglify/-/gulp-uglify-3.0.0.tgz", - "integrity": "sha1-DfAzHXKg0wLj434QlIXd3zPG0co=", - "dev": true, - "requires": { - "gulplog": "^1.0.0", - "has-gulplog": "^0.1.0", - "lodash": "^4.13.1", - "make-error-cause": "^1.1.1", - "through2": "^2.0.0", - "uglify-js": "^3.0.5", - "vinyl-sourcemaps-apply": "^0.2.0" - }, - "dependencies": { - "lodash": { - "version": "4.17.10", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", - "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==", - "dev": true - } - } - }, "gulp-util": { "version": "3.0.8", "resolved": "https://registry.npmjs.org/gulp-util/-/gulp-util-3.0.8.tgz", @@ -8401,21 +8378,6 @@ } } }, - "make-error": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.4.tgz", - "integrity": "sha512-0Dab5btKVPhibSalc9QGXb559ED7G7iLjFXBaj9Wq8O3vorueR5K5jaE3hkG6ZQINyhA/JgG6Qk4qdFQjsYV6g==", - "dev": true - }, - "make-error-cause": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/make-error-cause/-/make-error-cause-1.2.2.tgz", - "integrity": "sha1-3wOI/NCzeBbf8KX7gQiTl3fcvJ0=", - "dev": true, - "requires": { - "make-error": "^1.2.0" - } - }, "make-iterator": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.1.tgz", @@ -12460,16 +12422,6 @@ } } }, - "uglify-js": { - "version": "3.3.23", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.3.23.tgz", - "integrity": "sha512-Ks+KqLGDsYn4z+pU7JsKCzC0T3mPYl+rU+VcPZiQOazjE4Uqi4UCRY3qPMDbJi7ze37n1lDXj3biz1ik93vqvw==", - "dev": true, - "requires": { - "commander": "~2.15.0", - "source-map": "~0.6.1" - } - }, "uglifyjs-webpack-plugin": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.2.7.tgz", diff --git a/package.json b/package.json index 1a8996f..bfeafee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "frasco", - "version": "0.8.4", + "version": "0.8.5", "description": "Jekyll starter project including full setup for gulp, Sass, Autoprefixer, PostCSS, webpack, imagemin, Browsersync etc.", "main": "gulpfile.js", "scripts": { @@ -51,7 +51,6 @@ "gulp-plumber": "^1.2.0", "gulp-postcss": "^7.0.1", "gulp-sass": "^4.0.1", - "gulp-uglify": "^3.0.0", "gulp-watch": "^5.0.0", "imagemin-pngquant": "^6.0.0", "require-dir": "^1.0.0",