# This script is now necessary since webpack-cli no longer accepts arbitrary
# flags.
# We now have to set an environment variable from the flag and then
# access that variable within the node process.

if [ $# -eq 2 ]; then
  if [ $1 == "--instance" ]; then
    export INSTANCE=$2
  else