Skip minification of large bundles during CI builds. (#7528)
This commit is contained in:
parent
f97d4313c9
commit
828e9a8538
@ -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
|
||||
);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user