mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 21:43:09 +02:00
Fix
This commit is contained in:
parent
6f3b31bd8b
commit
a8ef6b66f6
2 changed files with 3 additions and 2 deletions
|
@ -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 a new issue