mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
多线程(cluster)
This commit is contained in:
1 parent
1c8b62a6d9
commit
45f1184d68
7 files changed
+169
-73
No files matched your search
+1
-1
@@ -66,7 +66,7 @@ async function build(type) {
|
||||
console.error(`Module pack failed: ${m}`);
|
||||
}
|
||||
}
|
||||
const f = fs.readFileSync(root('.build/development.js')).toString();
|
||||
const f = fs.readFileSync(root('.build/app.js')).toString();
|
||||
const installer = fs.readFileSync(root('tool/install.js')).toString();
|
||||
const file = `global._hydroModule=${JSON.stringify(j)};${f}`;
|
||||
fs.writeFileSync(root('.build/full.js'), file);
|
||||
|
||||
Reference in new issue
Block a user