This commit is contained in:
syuilo 2017-03-13 17:23:05 +09:00
parent 0f982cba5b
commit 1fb8df56de
2 changed files with 3 additions and 3 deletions

View File

@ -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
)
);

View File

@ -138,7 +138,7 @@
"ts-node": "2.1.0",
"tslint": "4.5.1",
"typescript": "2.2.1",
"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#e9920f7ca162ce062cc481b876be293d7324a714",
"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#8f4b45f4f814c04918382949b4bcaf7a8d910281",
"uuid": "3.0.1",
"velocity-animate": "1.4.3",
"vhost": "3.0.2",