mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
测试:从vj4的自动迁移脚本(未完成)
This commit is contained in:
1 parent
cedb427dc9
commit
41125c6929
11 files changed
+185
-24
No files matched your search
+8
-3
@@ -5,9 +5,14 @@ import runGulp from './runGulp';
|
||||
import runWebpack from './runWebpack';
|
||||
|
||||
async function main() {
|
||||
const dir = process.cwd();
|
||||
process.chdir(root());
|
||||
await runGulp(argv);
|
||||
runWebpack(argv);
|
||||
await runWebpack(argv);
|
||||
process.chdir(dir);
|
||||
}
|
||||
|
||||
process.chdir(root());
|
||||
main();
|
||||
module.exports = main;
|
||||
|
||||
if (!module.parent) main();
|
||||
|
||||
Reference in new issue
Block a user