diff --git a/lib/jiti-native.mjs b/lib/jiti-native.mjs index 07598e93..eaaf20eb 100644 --- a/lib/jiti-native.mjs +++ b/lib/jiti-native.mjs @@ -26,7 +26,6 @@ export function createJiti(parentURL = "./_.js", _opts) { jiti.esmResolve = (id, opts) => { try { - console.log("resolve", { id, from: opts?.parentURL || parentURL }); return import.meta.resolve(id, opts?.parentURL || parentURL); } catch (error) { if (opts?.try) { @@ -75,7 +74,7 @@ export default createJiti; */ function unsupportedError(message) { throw new Error( - `[jiti] ${message} (import or require \`jiti/node\` for more features).`, + `[jiti] ${message} (import or require 'jiti' instead of 'jiti/native' for more features).`, ); }