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