mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
开发者文档
This commit is contained in:
1 parent
3e9b074e77
commit
e7ce8c1f02
42 files changed
+349
-297
No files matched your search
+1
-1
@@ -23,7 +23,7 @@ async function build(type) {
|
||||
builtin.locale = lang;
|
||||
builtin.template = template('templates', exclude);
|
||||
const data = zlib.gzipSync(Buffer.from(yaml.safeDump(builtin)), { level: 3 });
|
||||
fs.writeFileSync(root('.build/module/builtin.hydro-module'), data);
|
||||
fs.writeFileSync(root('.build/module/builtin.hydro'), data);
|
||||
await require('./buildModule')(type);
|
||||
await require('./webpack')(type);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user