@visulima/packem
Version:
A fast and modern bundler for Node.js and TypeScript.
10 lines (9 loc) • 421 B
TypeScript
import type { Plugin } from "rollup";
export type ShebangOptions = {
replace: boolean;
shebang: string;
};
export declare const makeExecutable: (filePath: string) => Promise<void>;
export declare const shebangPlugin: (executablePaths: string[], options: ShebangOptions) => Plugin;
export declare const removeShebangPlugin: () => Plugin;
export declare const getShebang: (code: string, append?: string) => string;