diff --git a/scripts/gulp-tasks.js b/scripts/gulp-tasks.js index 47ca243033..972474f433 100644 --- a/scripts/gulp-tasks.js +++ b/scripts/gulp-tasks.js @@ -131,10 +131,12 @@ function registerStandalonePackageTask( plugins, }), gulp.dest(standalonePath), - uglify(), + ].concat( + // Minification is super slow, so we skip it in CI. + process.env.CI ? [] : uglify(), rename({ extname: ".min.js" }), - gulp.dest(standalonePath), - ], + gulp.dest(standalonePath) + ), cb ); });