Files
SnowLuma/.pnpm-store/v11/files/0d/5fa5ed55b7577b3f8b6656a5787b7145b356807958de8a4d67ac659ba4ca629354512c3d85f081167b9516381b3859275cc996093ea04c96cabdc7a46299fa
TanTan 2a69b23b47
Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Skipped
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

30 lines
950 B
Plaintext

Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const require_helper_ssg_ssg = require("../../helper/ssg/ssg.js");
require("../../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 require_helper_ssg_ssg.toSSG(app, bunFileSystemModule, options);
};
//#endregion
exports.bunFileSystemModule = bunFileSystemModule;
exports.toSSG = toSSG;