From 180aca0e996df84564866a1b6a409c84dc3ce816 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 18 May 2017 04:52:40 +0900 Subject: [PATCH] Enable uglify --- gulpfile.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.ts b/gulpfile.ts index 906a48fcc9..9586ed36ae 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -12,7 +12,7 @@ import tslint from 'gulp-tslint'; import * as glob from 'glob'; import * as es from 'event-stream'; import cssnano = require('gulp-cssnano'); -//import * as uglify from 'gulp-uglify'; +import * as uglify from 'gulp-uglify'; import pug = require('gulp-pug'); import * as rimraf from 'rimraf'; import * as chalk from 'chalk'; @@ -143,7 +143,7 @@ gulp.task('webpack', done => { gulp.task('build:client:script', () => gulp.src('./src/web/app/client/script.js') .pipe(replace('VERSION', JSON.stringify(version))) - //.pipe(isProduction ? uglify() : gutil.noop()) + .pipe(isProduction ? uglify() : gutil.noop()) .pipe(gulp.dest('./built/web/assets/client/')) as any );