mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-21 01:46:28 +08:00
升级queue为task
This commit is contained in:
1 parent
e7ce8c1f02
commit
5d7f57334f
14 files changed
+145
-130
No files matched your search
@@ -8,6 +8,7 @@ const ignoreFailure = require('./ignoreFailure');
|
||||
async function build(type) {
|
||||
if (!['development', 'production'].includes(type)) throw new Error(`Unknown type: ${type}`);
|
||||
ignoreFailure(fs.mkdirSync, root('.build'));
|
||||
ignoreFailure(fs.mkdirSync, root('.build/module'));
|
||||
const langs = fs.readdirSync(root('locales'));
|
||||
const lang = {};
|
||||
for (const i of langs) {
|
||||
|
||||
Reference in new issue
Block a user