#!/bin/bash

set -ex

echo $env

if [[ $env = "staging" ]] || [[ $env = "prod" ]]
then
  yarn build --mode=$env
else
  yarn build
fi
