Skip to content

Commit

Permalink
Update doc/api/esm.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Smith <3012099+JakobJingleheimer@users.noreply.github.com>
  • Loading branch information
bmeck and JakobJingleheimer committed Oct 27, 2021
1 parent 0948479 commit 0c762fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ const require = createRequire(cwd() + '/<preload>');
```
In order to allow communication between the application and the loader another
argument is provided to the preload code `port`. This is available as an
argument is provided to the preload code `port`. This is available as a
parameter to the loader hook and inside of the source text returned by the hook.
Some care must be taken in order to properly `ref()` and `unref()` the
`MessagePort` to prevent a process from being in a state where it won't close
Expand Down

0 comments on commit 0c762fb

Please sign in to comment.