Skip to content

The only tool you need to know what is happening and how to fix it.

feat: script updated

ddux28332ab4c1f4
diff --git a/scripts/build-local.sh b/scripts/build-frontend.sh
similarity index 79%
rename from scripts/build-local.sh
rename to scripts/build-frontend.sh
index 97d410d2..4c4f1b66 100755
--- a/scripts/build-local.sh
+++ b/scripts/build-frontend.sh
@@ -30,8 +30,8 @@ unset TRACEWAY_URL
npm install
npm run build
-rm -rf "$ROOT_DIR/backend/static/dist"
-mkdir -p "$ROOT_DIR/backend/static/dist"
-cp -r "$ROOT_DIR/frontend/build/"* "$ROOT_DIR/backend/static/dist/"
+rm -rf "$ROOT_DIR/backend/static/frontend"
+mkdir -p "$ROOT_DIR/backend/static/frontend"
+cp -r "$ROOT_DIR/frontend/build/"* "$ROOT_DIR/backend/static/frontend/"
-echo "Frontend built and bundled into backend/static/dist/"
+echo "Frontend built and bundled into backend/static/frontend/"