truss/rollup.sh

10 lines
162 B
Bash
Raw Normal View History

2019-03-05 19:21:09 -06:00
cwd=$(pwd)
for path in *; do
if [ -d "$path" ]; then
echo "rollup $path..."
cd $path
rollup index.js -o cjs/index.js -f cjs
cd "$cwd"
fi
done