1 |
|
2 |
|
3 | # Colors used for status updates
|
4 | ESC_SEQ="\x1b["
|
5 | COL_RESET=$ESC_SEQ"39;49;00m"
|
6 | COL_RED=$ESC_SEQ"31;01m"
|
7 | COL_GREEN=$ESC_SEQ"32;01m"
|
8 | COL_YELLOW=$ESC_SEQ"33;01m"
|
9 | COL_BLUE=$ESC_SEQ"34;01m"
|
10 | COL_MAGENTA=$ESC_SEQ"35;01m"
|
11 | COL_CYAN=$ESC_SEQ"36;01m"
|
12 |
|
13 | # this is only called when producing production build
|
14 | if [ -f "./dist/messenger.js.map" ]; then
|
15 | rm dist/messenger.js.map
|
16 | fi
|
17 |
|
18 | printf " ${COL_GREEN}[ •• ${CO_RESET}] ${COL_YELLOW} ==> Cleaning Production ... ${COL_RESET}\n\n"
|