UNPKG

histoire

Version:

A fast story book powered by Vite

10 lines • 530 B
/** * Makes a folder of generated output ignore itself with its own `.gitignore`, * like `.pytest_cache`. Git skips it even when the project doesn't ignore * `.histoire`, and so does Tailwind 4's source scan, which honors `.gitignore` * files without a git repository (without it, it read `.histoire/tmp`). * An existing `.gitignore` is kept; failures are ignored. * @param dir Folder holding generated output only. */ export declare function markGeneratedDir(dir: string): void; //# sourceMappingURL=generated-dir.d.ts.map