Skip to content

Instantly share code, notes, and snippets.

@ngscheurich
Created September 13, 2022 16:27
Show Gist options
  • Save ngscheurich/9c82eb02bb3cf4e42cc47b86b0a5d40d to your computer and use it in GitHub Desktop.
Save ngscheurich/9c82eb02bb3cf4e42cc47b86b0a5d40d to your computer and use it in GitHub Desktop.
#!/bin/bash
EMBED=~/tmp/santyl-embed
STATIC=build/static
npm run build
rm $EMBED/*.{css,js}
cp $STATIC/css/main.*.css $EMBED/santyl-calculator.min.css
cp $STATIC/js/main.*.js $EMBED/santyl-calculator.min.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment