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
commit9bfee45811b1e0668d4bf7149d2972a42b2bafee (patch)
tree8007bad882b62fd726875e69767f0622adc233ac /bundle/src
parentCompiler test (diff)
downloadserver-9bfee45811b1e0668d4bf7149d2972a42b2bafee.tar.xz
:zap: fast build script
Diffstat (limited to 'bundle/src')
-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