0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 15:06:33 +01:00

doc: format correction for experimental loader hooks

PR-URL: https://github.com/nodejs/node/pull/27537
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
Daniel Nalborczyk 2019-05-02 14:11:15 -04:00 committed by Daniel Bevenius
parent 1aa99df99b
commit 523a9fbcb4

View File

@ -467,7 +467,7 @@ export async function resolve(specifier,
defaultResolver) {
return {
url: new URL(specifier, parentModuleURL).href,
format: 'esm'
format: 'module'
};
}
```
@ -526,7 +526,7 @@ export function resolve(specifier, parentModuleURL = baseURL, defaultResolve) {
}
return {
url: resolved.href,
format: 'esm'
format: 'module'
};
}
```