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