Skip to content

Conversation

@jcassidyav
Copy link
Contributor

Add a guide page describing hooks

Hooks can replace the original CLI function (use sparingly):

```javascript
module.exports = function (hookArgs, $logger) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can show ES Module style hooks. Possible we could show es module and commonjs in tabs in the docs with es modules being default with v9 going forward.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added ESM/CommonJS tabs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants