import { toSSG as toSSG$1 } from "../../helper/ssg/ssg.js"; import "../../helper/ssg/index.js"; //#region src/adapter/bun/ssg.ts const { write } = Bun; /** * @experimental * `bunFileSystemModule` is an experimental feature. * The API might be changed. * @deprecated `hono/bun` will be removed in v5. Install `@hono/bun` and import from there instead. */ const bunFileSystemModule = { writeFile: async (path, data) => { await write(path, data); }, mkdir: async () => {} }; /** * @experimental * `toSSG` is an experimental feature. * The API might be changed. * @deprecated `hono/bun` will be removed in v5. Install `@hono/bun` and import from there instead. */ const toSSG = async (app, options) => { return toSSG$1(app, bunFileSystemModule, options); }; //#endregion export { bunFileSystemModule, toSSG };