Skip to content

Commit

Permalink
remove uglify
Browse files Browse the repository at this point in the history
  • Loading branch information
opus1269 committed May 21, 2019
1 parent d0a4bf7 commit da46ac4
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,6 @@ const eslint = require('gulp-eslint');
const stripLine = require('gulp-strip-line');
const zip = require('gulp-zip');

// ECMA6
const uglifyjs = require('uglify-es');
const composer = require('gulp-uglify/composer');
const minify = composer(uglifyjs, console);
const minifyOpts = {
output: {
beautify: false,
comments: '/Copyright/',
},
};

// TypeScript
const ts = require('gulp-typescript');
const tsProject = ts.createProject('tsconfig.json');
Expand Down Expand Up @@ -223,7 +212,6 @@ function tsCompile() {
pipe(replace(SRCH_REDDIT, REP_REDDIT)).
pipe(replace(SRCH_WTHR, REP_WTHR)).
pipe(replace(SRCH_CP, REP_CP)).
// pipe(isProd ? minify(minifyOpts) : noop()).
pipe(gulp.dest(base.src));
}

Expand Down

0 comments on commit da46ac4

Please sign in to comment.