Skip to content

Commit

Permalink
fix: Use parcel bundler in local instead of global
Browse files Browse the repository at this point in the history
  • Loading branch information
parksb committed Apr 27, 2021
1 parent 9c44644 commit bb325af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ echo "> cp -r ./app/static/* ${DIST}/"
cp -r ./app/static/* $DIST/

echo -e "\n${GREEN}Run parcel...${WHITE}"
echo -e "> parcel build ./app/public/index.html -d ${DIST}\n"
parcel build ./app/public/index.html -d $DIST
echo -e "> ./node_modules/.bin/parcel build ./app/public/index.html -d ${DIST}\n"
./node_modules/.bin/parcel build ./app/public/index.html -d $DIST

echo -e "\n${CYAN}Done!${WHITE}"
4 changes: 2 additions & 2 deletions tools/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ echo "> rm -r ./server/*"
rm -r ./server/*

echo -e "\n${GREEN}Run parcel...${WHITE}"
echo -e "> parcel serve ./app/public/index.html -d ./server --open\n"
parcel serve ./app/public/index.html -d ./server --open
echo -e "> ./node_modules/.bin/parcel serve ./app/public/index.html -d ./server --open\n"
./node_modules/.bin/parcel serve ./app/public/index.html -d ./server --open

1 comment on commit bb325af

@vercel
Copy link

@vercel vercel bot commented on bb325af May 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.