Skip to content

Instantly share code, notes, and snippets.

@Frolki1-Dev
Created April 21, 2019 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Frolki1-Dev/9723935fe17aba1c072713c61550801d to your computer and use it in GitHub Desktop.
Save Frolki1-Dev/9723935fe17aba1c072713c61550801d to your computer and use it in GitHub Desktop.
Compile assets before commit
#!/bin/sh
# Before commit minify the assets
yarn run prod
# Add files (if has some new files)
git add ./public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment