put_precommit_hook | R Documentation |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.