summary refs log tree commit diff
path: root/bundle/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 18:21:01 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-07 18:21:01 +0200
commita78baa048d04014e516703c3c61f458146781e04 (patch)
tree24ab824ac20ceca089b370491650c28d3c713a8e /bundle/src
parentCompiler test (diff)
downloadserver-a78baa048d04014e516703c3c61f458146781e04.tar.xz
:zap: fast build script
Diffstat (limited to '')
-rw-r--r--bundle/src/build.js18
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