Commit 8179cfe5 authored by Muhammad Umair Khan's avatar Muhammad Umair Khan
Browse files

bug fix: build.sh

parent d5575ac7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -94,6 +94,7 @@ mkdir -p bin/frontend

printf "%b\n" "${BLUE}${BOLD}➤ Linting Frontend${NC}"
cd "$BASEDIR/js-apps/frontend" || exit 1
npm install
npx eslint src

echo ""
@@ -109,7 +110,6 @@ install_package meep-mon-engine-client
echo ""
printf "%b\n" "${BLUE}${BOLD}➤ Compiling Frontend (Webpack)${NC}"
cd "$BASEDIR/js-apps/frontend" || exit 1
npm install
rm -rf dist
npm run build -- --output-path="$BASEDIR/bin/frontend"