truss/rollup.sh
2019-03-05 19:21:09 -06:00

10 lines
162 B
Bash
Executable File

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