diff --git a/src/loader.ts b/src/loader.ts index 37f825d..cf2737d 100644 --- a/src/loader.ts +++ b/src/loader.ts @@ -305,7 +305,10 @@ async function resolveConfig< // Download giget URIs and resolve to local path if ( options.giget !== false && - GIGET_PREFIXES.some((prefix) => source.startsWith(prefix)) + (Object.keys(sourceOptions.giget?.providers || {}) + .map((key) => `${key}:`) + .some((prefix) => source.startsWith(prefix)) || + GIGET_PREFIXES.some((prefix) => source.startsWith(prefix))) ) { const { downloadTemplate } = await import("giget");