@build-script/heft-esbuild-plugin
Version:
lowlevel esbuild plugin for [heft]
18 lines • 579 B
TypeScript
import type { OutputFile as IOutputFile } from 'esbuild';
export declare class OutputFile implements IOutputFile {
path: string;
private _contents?;
private _text?;
private _hash;
get contents(): Uint8Array;
set contents(contents: Buffer);
get text(): string;
set text(text: string);
asString(): string;
asBinary(): Uint8Array;
asAny(): string | Uint8Array<ArrayBufferLike>;
get hash(): any;
set hash(_: any);
constructor(path: string, init: Uint8Array | string, hash?: string);
}
//# sourceMappingURL=write.helper.d.ts.map