cfg-test
Version:
In-source testing using Node.js Test Runner
8 lines (7 loc) • 581 B
Source Map (JSON)
{
"version": 3,
"sources": ["../../src/core/dts-loader.mts"],
"sourcesContent": ["import type { LoadHook } from \"node:module\";\n\nexport const load: LoadHook = function dtsLoader(url, _, next) {\n if (url.endsWith(\".d.ts\")) {\n return {\n format: \"module\",\n source: \"\",\n shortCircuit: true,\n };\n }\n\n return next(url);\n};\n"],
"mappings": ";AAEO,IAAM,OAAiB,SAAS,UAAU,KAAK,GAAG,MAAM;AAC7D,MAAI,IAAI,SAAS,OAAO,GAAG;AACzB,WAAO;AAAA,MACL,QAAQ;AAAA,MACR,QAAQ;AAAA,MACR,cAAc;AAAA,IAChB;AAAA,EACF;AAEA,SAAO,KAAK,GAAG;AACjB;",
"names": []
}