Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32
feat:hooks#183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
feat:hooks#183
Uh oh!
There was an error while loading.Please reload this page.
Conversation
content/guide/hooks.md Outdated
| Hooks can replace the original CLI function (use sparingly): | ||
| ```javascript | ||
| module.exports = function (hookArgs, $logger) { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Added ESM/CommonJS tabs
Add a guide page describing hooks