mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
模块化,添加webpack支持
This commit is contained in:
1 parent
4ec2a46877
commit
75ebc1a746
30 files changed
+622
-459
No files matched your search
+1
-1
@@ -20,4 +20,4 @@ async function post(url, data, options) {
|
||||
return res;
|
||||
}
|
||||
|
||||
module.exports = { get, post };
|
||||
global.Hydro['lib.axios'] = module.exports = { get, post };
|
||||
Reference in new issue
Block a user