From 9c8f1bb575be07583aa06653fe1a286b17cd0065 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 13 Mar 2017 15:15:25 +0900 Subject: [PATCH] Revert "Disable uglify temporaly to avoid unable build issue" This reverts commit da280dd7c6ecf2bbd4699537a084f14ddda32bb9. --- gulpfile.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.ts b/gulpfile.ts index efb780ddc..ba0bc6c6d 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -12,7 +12,7 @@ import * as glob from 'glob'; import * as es from 'event-stream'; import * as webpack from 'webpack-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'; @@ -131,7 +131,7 @@ gulp.task('build:client:scripts', () => webpack(require('./webpack.config'), require('webpack')) .pipe(gulp.dest('./built/web/resources/')) as any, gulp.src('./src/web/app/client/script.js') - //.pipe(isProduction ? uglify() : gutil.noop()) + .pipe(isProduction ? uglify() : gutil.noop()) .pipe(gulp.dest('./built/web/resources/client/')) as any ) );