Skip to content

Instantly share code, notes, and snippets.

@ngscheurich
Created August 26, 2022 15:25
Show Gist options
  • Save ngscheurich/a343aac42ed35b19d3ead6941313ce8e to your computer and use it in GitHub Desktop.
Save ngscheurich/a343aac42ed35b19d3ead6941313ce8e 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