Skip to content

Commit

Permalink
doc: format correction for experimental loader hooks
Browse files Browse the repository at this point in the history
PR-URL: #27537
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
dnalborczyk authored and danbev committed May 14, 2019
1 parent 1aa99df commit 523a9fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ export async function resolve(specifier,
defaultResolver) {
return {
url: new URL(specifier, parentModuleURL).href,
format: 'esm'
format: 'module'
};
}
```
Expand Down Expand Up @@ -526,7 +526,7 @@ export function resolve(specifier, parentModuleURL = baseURL, defaultResolve) {
}
return {
url: resolved.href,
format: 'esm'
format: 'module'
};
}
```
Expand Down

0 comments on commit 523a9fb

Please sign in to comment.