1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-06-12 04:31:35 +02:00

Add build-extension task in gulpfile.js

This commit is contained in:
RuntimeTerror10
2022-02-20 14:05:37 +05:30
parent 3332629211
commit c7faa25a7c

View File

@ -260,3 +260,21 @@ gulp.task('dev-release', function(callback) {
}
);
});
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);
}
);
});