Skip to content

Commit

Permalink
fix(xo-web/build): disable uglify inline optimization (#4485)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdonias authored and julien-f committed Sep 4, 2019
1 parent 38081d9 commit d19f9b5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/xo-web/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,11 @@ gulp.task(function buildScripts() {
],
}),
require('gulp-sourcemaps').init({ loadMaps: true }),
PRODUCTION && require('gulp-uglify/composer')(require('uglify-es'))(),
PRODUCTION &&
require('gulp-uglify/composer')(require('uglify-es'))({
// 2019-09-04 Disabling inline optimization until https://github.com/mishoo/UglifyJS2/issues/2842 is fixed
compress: { inline: false },
}),
dest()
)
})
Expand Down

0 comments on commit d19f9b5

Please sign in to comment.