This commit is contained in:
syuilo 2017-05-24 09:47:48 +09:00
parent 6f3b31bd8b
commit a8ef6b66f6
2 changed files with 3 additions and 2 deletions

View File

@ -18,10 +18,10 @@ import imagemin = require('gulp-imagemin');
import * as rename from 'gulp-rename';
import * as mocha from 'gulp-mocha';
import * as replace from 'gulp-replace';
import * as uglifyjs from 'uglify-js';
const uglifyes = require('uglify-es');
import version from './src/version';
const uglify = uglifyComposer(uglifyjs, console);
const uglify = uglifyComposer(uglifyes, console);
const env = process.env.NODE_ENV;
const isProduction = env === 'production';

View File

@ -85,6 +85,7 @@
"stylus-loader": "3.0.1",
"swagger-jsdoc": "1.9.4",
"tslint": "5.3.0",
"uglify-es": "3.0.11",
"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony",
"webpack": "2.6.0"
},