beesbuild
Version:
构建工具链
8 lines (7 loc) • 331 B
TypeScript
import type { Plugin } from 'rollup';
export interface ShebangPluginOptions {
preserve?: boolean;
}
export declare function shebangPlugin(options?: ShebangPluginOptions): Plugin;
export declare function makeExecutable(filePath: string): Promise<void>;
export declare function getShebang(code: string, append?: string): string;