forked from LeenkxTeam/Kmake
11 lines
283 B
JavaScript
11 lines
283 B
JavaScript
export async function resolve(specifier, { parentURL, importAttributes }, next) {
|
|
if (parentURL && specifier === '../fixtures/es-modules/test-esm-ok.mjs') {
|
|
return {
|
|
shortCircuit: true,
|
|
url: specifier,
|
|
importAttributes,
|
|
};
|
|
}
|
|
return next(specifier);
|
|
}
|