Only switch dir temporarily in build_ui.sh

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2024-09-06 21:40:29 +02:00
parent ad21ef3d76
commit 9b27e0d915

View file

@ -31,9 +31,7 @@ function buildModule() {
function buildReactApp() {
echo "build react-app"
cd react-app
npm run build
cd ..
(cd react-app && npm run build)
rm -rf ./static/react-app
mv ./react-app/build ./static/react-app
}