mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
修复构建脚本
This commit is contained in:
1 parent
670b759a98
commit
1cdca971ea
2 files changed
+2
-4
No files matched your search
+2
-1
@@ -1,3 +1,4 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
require('@babel/register');
|
require('@babel/register');
|
||||||
require('./main.js');
|
const main = require('./main.js');
|
||||||
|
if (!module.parent) main();
|
||||||
@@ -13,6 +13,3 @@ async function main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module.exports = main;
|
module.exports = main;
|
||||||
|
|
||||||
if (!module.parent) main();
|
|
||||||
|
|
||||||
Reference in new issue
Block a user