jsr-exports-lint
Version:
JSR exports field lint for bundlers
16 lines (14 loc) • 492 B
TypeScript
import { BuildContext } from "tsdown";
//#region src/tsdown.d.ts
/**
* Lint `exports` field of JSR manifest file for tsdown hooks
* @param jsrPath The path to the `jsr.json` file.
* @returns A tsdown hook
*/
/**
* Lint `exports` field of JSR manifest file for tsdown hooks
* @param jsrPath The path to the `jsr.json` file.
* @returns A tsdown hook
*/
declare function lintJsrExports(jsrPath?: string): (ctx: BuildContext) => void | Promise<void>; //#endregion
export { lintJsrExports };