模块化,添加webpack支持

This commit is contained in:
undefined committed 2020-04-29 19:08:03 +08:00
1 parent 4ec2a46877
commit 75ebc1a746
30 files changed
+622 -459

No files matched your search

+2 -1
View File
@@ -19,4 +19,5 @@ async function download(url, path, retry = 3) {
}
return r;
}
module.exports = download;
global.Hydro['lib.download'] = module.exports = download;