jsr-exports-lint
Version:
JSR exports field lint for bundlers
12 lines (10 loc) • 349 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
*/
declare function lintJsrExports(jsrPath?: string): (ctx: BuildContext) => void | Promise<void>;
//#endregion
export { lintJsrExports };