Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup: tidy docs changes
Co-authored-by: Geoffrey Booth <456802+GeoffreyBooth@users.noreply.github.com>
  • Loading branch information
JakobJingleheimer and GeoffreyBooth authored Jun 17, 2022
commit e0511b60b3a740b5262f535ecf2c7147fbeb0cd2
6 changes: 3 additions & 3 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,11 +344,11 @@ command flag enabled.
* Returns: {string}
Comment thread
JakobJingleheimer marked this conversation as resolved.

Provides a module-relative resolution function scoped to each module, returning
the URL string. In alignment with browser behaviour, this now returns
the URL string. In alignment with browser behavior, this now returns
synchronously.

> **Caveat** This can result in synchronous file-system operations, which
> can impact performance.
> can impact performance similarly to `require.resolve`.

<!-- eslint-skip -->

Expand Down Expand Up @@ -773,7 +773,7 @@ changes:
terminate the chain of `resolve` hooks. **Default:** `false`
* `url` {string} The absolute URL to which this input resolves

> **Caveat** A resolve hook can contain synchronous file-system operations
> **Caveat** A resolve hook can contain synchronous file-system operations
> (as `defaultResolveHook()` does), which can impact performance.

The `resolve` hook chain is responsible for resolving file URL for a given
Expand Down