mirror of
https://github.com/gre/gl-react.git
synced 2025-12-08 21:35:55 +00:00
16 lines
245 B
Bash
Executable File
16 lines
245 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
cd $(dirname $0)/..
|
|
|
|
export BABEL_ENV=production
|
|
|
|
for d in ./packages/gl-react*; do
|
|
cd $d
|
|
rm -rf lib
|
|
babel --root-mode upward --source-maps -d lib src
|
|
flow-copy-source src lib
|
|
cd - 1> /dev/null
|
|
done
|
|
|
|
lerna run build |