6 lines
194 B
Bash
6 lines
194 B
Bash
#!/bin/bash
|
|
KEEP="dist|package.json|yarn.lock|client|builder|build|pm2.config.js|docker_run.sh"
|
|
echo "Removing unneeded build files:"
|
|
ls | egrep -v $KEEP | xargs rm -rf
|
|
NODE_ENV=production yarn
|