mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-27 08:40:10 +02:00
Merge remote-tracking branch 'origin/master' into v5
This commit is contained in:
32
gulpfile.js
32
gulpfile.js
@@ -231,6 +231,7 @@ exports.release = series(
|
||||
} else {
|
||||
console.log('RELEASE FINISHED SUCCESSFULLY');
|
||||
}
|
||||
|
||||
callback(error);
|
||||
}
|
||||
);
|
||||
@@ -242,6 +243,33 @@ exports.devRelease = gulp.series(
|
||||
'useRef',
|
||||
// 'concatSwRegistration',
|
||||
// 'generate-service-worker',
|
||||
'buildDistFolder'
|
||||
// 'cleanup'
|
||||
'buildDistFolder',
|
||||
'cleanup',
|
||||
function (error) {
|
||||
if (error) {
|
||||
console.log(error.message);
|
||||
} else {
|
||||
console.log('DEV-RELEASE FINISHED SUCCESSFULLY');
|
||||
}
|
||||
|
||||
callback(error);
|
||||
}
|
||||
);
|
||||
|
||||
// gulp.task('build-extension', function (callback) {
|
||||
// runSequence(
|
||||
// 'runWebpack',
|
||||
// 'copyFiles',
|
||||
// 'fixIndex',
|
||||
// 'useRef',
|
||||
// 'packageExtension',
|
||||
// function (error) {
|
||||
// if (error) {
|
||||
// console.log(error.message);
|
||||
// } else {
|
||||
// console.log('DEV RELEASE FINISHED SUCCESSFULLY');
|
||||
// }
|
||||
// callback(error);
|
||||
// }
|
||||
// );
|
||||
// });
|
||||
|
Reference in New Issue
Block a user