Fix production build never completing
This commit is contained in:
@ -481,7 +481,11 @@ function buildManifest() {
|
|||||||
.pipe(gulp.dest('server/'));
|
.pipe(gulp.dest('server/'));
|
||||||
}
|
}
|
||||||
|
|
||||||
var buildDependents = ['less', 'js', 'dependents', 'pack-watch-manifest'];
|
var buildDependents = ['less', 'js', 'dependents'];
|
||||||
|
|
||||||
|
if (__DEV__) {
|
||||||
|
buildDependents.push('pack-watch-manifest');
|
||||||
|
}
|
||||||
|
|
||||||
gulp.task('build-manifest', buildDependents, function() {
|
gulp.task('build-manifest', buildDependents, function() {
|
||||||
return buildManifest();
|
return buildManifest();
|
||||||
|
Reference in New Issue
Block a user