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 rename from 'gulp-rename'; | ||||||
| import * as mocha from 'gulp-mocha'; | import * as mocha from 'gulp-mocha'; | ||||||
| import * as replace from 'gulp-replace'; | import * as replace from 'gulp-replace'; | ||||||
| import * as uglifyjs from 'uglify-js'; | const uglifyes = require('uglify-es'); | ||||||
| import version from './src/version'; | import version from './src/version'; | ||||||
| 
 | 
 | ||||||
| const uglify = uglifyComposer(uglifyjs, console); | const uglify = uglifyComposer(uglifyes, console); | ||||||
| 
 | 
 | ||||||
| const env = process.env.NODE_ENV; | const env = process.env.NODE_ENV; | ||||||
| const isProduction = env === 'production'; | const isProduction = env === 'production'; | ||||||
|  |  | ||||||
|  | @ -85,6 +85,7 @@ | ||||||
|     "stylus-loader": "3.0.1", |     "stylus-loader": "3.0.1", | ||||||
|     "swagger-jsdoc": "1.9.4", |     "swagger-jsdoc": "1.9.4", | ||||||
|     "tslint": "5.3.0", |     "tslint": "5.3.0", | ||||||
|  |     "uglify-es": "3.0.11", | ||||||
|     "uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony", |     "uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony", | ||||||
|     "webpack": "2.6.0" |     "webpack": "2.6.0" | ||||||
|   }, |   }, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue