Add a pre-commit hook that runs at every commit to ensure that JavaScript files are minified.
put_precommit_hook()
Will only work if using git.
## Not run: put_precommit_hook()