#!/bin/bash

# clean up docs folder
rm -rf docs/*

# copy over html file
cp public/index.html docs

# copy over library
cp dist/serina.js docs

#!/bin/bash

# clean up docs folder
rm -rf docs/*
mkdir -p docs/

# copy over html file
cp public/index.html docs/

# copy over library
cp dist/serina.js docs/

Fix case if docs directory doesn't exist
Fix case if docs directory doesn't exist