Skip to content

Commit

Permalink
loader → hooks
Browse files Browse the repository at this point in the history
Co-authored-by: Geoffrey Booth <[email protected]>
  • Loading branch information
JakobJingleheimer and GeoffreyBooth authored Mar 1, 2024
1 parent f59a6a8 commit d960816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/module.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ The same applies to all the other hooks.
The registered hooks also affect `register` itself. In this example,
`bar.mjs` will be resolved and loaded via the hooks registered by `foo.mjs`
(because `foo`'s hooks will have already been added to the chain). This allows
for things like writing hooks in non-JavaScript languages, so long as an
earlier registered loader is one that transpiles into JavaScript.
for things like writing hooks in non-JavaScript languages, so long as
earlier registered hooks transpile into JavaScript.
The `register` method cannot be called from within the module that defines the
hooks.
Expand Down

0 comments on commit d960816

Please sign in to comment.