UNPKG

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