1export function dynamicInstantiate() {} 2export function getFormat() {} 3export function getSource() {} 4export function transformSource() {} 5 6 7export function resolve(specifier, context, next) { 8 if (specifier === 'whatever') return { 9 url: specifier, 10 }; 11 12 return next(specifier); 13} 14 15export function load(url, context, next) { 16 if (url === 'whatever') return { 17 format: 'module', 18 source: '', 19 }; 20 21 return next(url); 22} 23