Skip to content
← Public packages

@apphub/netlify

Inspect Netlify sites, deploys, env-var metadata, and forms on the caller's account, with dry-run writes.

scripts/kody-loader.mjs

9 lines · 251 B · JavaScript
export async function resolve(specifier, context, nextResolve) {
	if (specifier === 'kody:runtime') {
		return {
			url: new URL('./kody-runtime-mock.mjs', import.meta.url).href,
			shortCircuit: true,
		}
	}
	return nextResolve(specifier, context)
}