From 426a6ef3d40021841066e5818c660cb8a5f1bbcd Mon Sep 17 00:00:00 2001 From: Okiki Ojo Date: Wed, 11 Feb 2026 18:32:43 -0500 Subject: [PATCH] chore: add debug logging to CdnResolution function for better traceability Signed-off-by: Okiki Ojo --- core/plugins/cdn.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/plugins/cdn.ts b/core/plugins/cdn.ts index c9d4247..83df16a 100644 --- a/core/plugins/cdn.ts +++ b/core/plugins/cdn.ts @@ -148,6 +148,11 @@ export function CdnResolution(StateContext: Context>) { const conditions = getResolverConditions(args, effectiveResolveOpts); let argPath = args.path; + console.log({ + argPath, + conditions + }) + // ======================================================================== // Build initial manifest from config + inherited pluginData // ======================================================================== @@ -186,7 +191,6 @@ export function CdnResolution(StateContext: Context>) { // vfile's package.json (passed via pluginData.manifest), not the entry point's. // ======================================================================== - console.log({ argPath}) if (/^#/.test(argPath)) { // Use importer's manifest if available, fall back to initial manifest const importerManifest: Partial = -- knotmirror 0.0.1