diff options
Diffstat (limited to 'bundle/src')
-rw-r--r-- | bundle/src/build.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/bundle/src/build.js b/bundle/src/build.js deleted file mode 100644 index b893d5ee..00000000 --- a/bundle/src/build.js +++ /dev/null @@ -1,18 +0,0 @@ -const { exec, spawn } = require("child_process"); -const { exitCode } = require("process"); - -let parts = "api,cdn,gateway,util,bundle".split(","); -parts.forEach(element => { - // exec(`npm --prefix ../${element} run build`, (error, stdout, stderr) => { - // if (error) { - // console.log(`error: ${error.message}`); - // return; - // } - // if (stderr) { - // console.log(`stderr: ${stderr}`); - // return; - // } - // console.log(`stdout: ${stdout}`); - // }); - spawn("npm", ["run", "build"], {cwd: `../${element}`}); -}); \ No newline at end of file |