-
-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
61 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import * as moduleA from './moduleA.mjs'; | ||
import * as moduleB from './moduleB.mjs' assert { foo: 'bar' }; | ||
import * as jsonModule from './jsonModuleA.json' assert { type: 'json' }; | ||
|
||
await import('./moduleC.mjs'); | ||
await import('./moduleD.mjs', { foo: 'bar' }); | ||
await import('./jsonModuleB.json', { assert: { type: 'json' } }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export function resolve(specifier, context, defaultResolve) { | ||
console.log(JSON.stringify({ resolveContextKeys: Object.keys(context) })); | ||
return defaultResolve(specifier, context); | ||
} | ||
export function load(url, context, defaultLoad) { | ||
console.log(JSON.stringify({ loadContextKeys: Object.keys(context) })); | ||
return defaultLoad(url, context); | ||
} |
Empty file.
Empty file.
Empty file.
Empty file.