node/test/fixtures/es-module-loaders/loader-resolve-multiple-nex...

10 lines
212 B
JavaScript

export async function resolve(specifier, context, next) {
const { url: first } = await next(specifier);
const { url: second } = await next(specifier);
return {
format: 'module',
url: first,
};
}