修复构建脚本

This commit is contained in:
undefined committed 2020-05-11 12:49:53 +08:00
1 parent 670b759a98
commit 1cdca971ea
2 files changed
+2 -4

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
/* eslint-disable */
require('@babel/register');
require('./main.js');
const main = require('./main.js');
if (!module.parent) main();
-3
View File
@@ -13,6 +13,3 @@ async function main() {
}
module.exports = main;
if (!module.parent) main();