mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-24 07:06:07 +09:00
Fix
This commit is contained in:
parent
fde0d4037f
commit
b7a9924991
@ -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';
|
||||
|
@ -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"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user