Skip to content

Commit

Permalink
doc: format correction for experimental loader hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed May 2, 2019
1 parent ee3b4fd commit 2779ecf
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 2779ecf

Please sign in to comment.