11cb0ef41Sopenharmony_ciimport { writeSync } from 'node:fs'; 21cb0ef41Sopenharmony_ciimport { inspect } from 'node:util'; 31cb0ef41Sopenharmony_ci 41cb0ef41Sopenharmony_ciexport async function resolve(specifier, context, nextResolve) { 51cb0ef41Sopenharmony_ci writeSync(1, `loader-b ${inspect({specifier})}\n`); 61cb0ef41Sopenharmony_ci return nextResolve(specifier.replace(/^yyy\//, `./`)); 71cb0ef41Sopenharmony_ci} 8