From 2779ecfa74bd48223ff11990917349ad80e29af0 Mon Sep 17 00:00:00 2001 From: Daniel Nalborczyk Date: Thu, 2 May 2019 14:11:15 -0400 Subject: [PATCH] doc: format correction for experimental loader hooks --- doc/api/esm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 36dba24e292eec..135a904e2d79ba 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -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' }; } ```