diff --git a/gulpfile.ts b/gulpfile.ts index 7fa7667dff..d5ba64970a 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -18,7 +18,7 @@ import imagemin = require('gulp-imagemin'); import * as rename from 'gulp-rename'; import * as mocha from 'gulp-mocha'; import * as replace from 'gulp-replace'; -const uglifyjs = require('uglify-js'); +import * as uglifyjs from 'uglify-js'; import version from './src/version'; const uglify = uglifyComposer(uglifyjs, console);