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 <[email protected]>
Reviewed-By: Jan Krems <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
dnalborczyk authored and targos committed May 14, 2019
1 parent c7e5fca commit da4a379
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 da4a379

Please sign in to comment.