Add bundle-frontend.sh
This commit is contained in:
parent
8e0b21fb1c
commit
9409cbb981
6
frontend/bundle-frontend.sh
Normal file
6
frontend/bundle-frontend.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
[[ -e "dist/*" ]] && rm -r dist/*
|
||||||
|
npm run build && \
|
||||||
|
(cd dist/frontend && tar czf ../cc-data-bundle.tar.gz ./) && \
|
||||||
|
echo "Done!"
|
||||||
Loading…
Reference in New Issue
Block a user