create-anu-app
create-anu-app copied to clipboard
执行另一个nodejs文件
const { fork } = require('child_process');
var n = fork('./src/build.js');
n.on('exit', (code) => {
console.log(`Child exited with code ${code}`);
});
build.js为执行 webpack的脚本