build.sh 235 B

12345678910111213
  1. #!/bin/bash
  2. # set current working directory to directory of the shell script
  3. cd "$(dirname "$0")"
  4. # before
  5. npm ci 2> /dev/null || npm i
  6. # copy
  7. cp node_modules/csso/dist/csso.js ../../vendor/csso.min.js
  8. # after
  9. rm -rf node_modules/