mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: webpack: add webpackbar
This commit is contained in:
1 parent
e10f3de562
commit
05ea014b79
5 files changed
+7
-247
No files matched your search
@@ -18,7 +18,7 @@ function runWebpack({
|
||||
compress: true,
|
||||
hot: true,
|
||||
disableHostCheck: true,
|
||||
stats: 'errors-warnings',
|
||||
stats: 'none',
|
||||
index: '',
|
||||
proxy: {
|
||||
context: () => true,
|
||||
@@ -60,10 +60,7 @@ async function runGulp() {
|
||||
gulp.on('stop', ({ uid, name }) => {
|
||||
log(chalk.green('Finished: %s'), chalk.reset(name));
|
||||
taskList[uid] = false;
|
||||
|
||||
if (Object.values(taskList).filter((b) => b).length === 0) {
|
||||
resolve();
|
||||
}
|
||||
if (Object.values(taskList).filter((b) => b).length === 0) resolve();
|
||||
});
|
||||
gulpTasks.default();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user