sepehr 8d95f34fcc fix: Add debounced Undo/Redo system to avoid character-by-character history
- Add debounced state updates for title and content (500ms delay)
- Immediate UI updates with delayed history saving
- Prevent one-letter-per-undo issue
- Add cleanup for debounce timers on unmount
2026-01-04 14:28:11 +01:00

18 lines
379 B
JavaScript

// src/adapter/bun/ssg.ts
import { toSSG as baseToSSG } from "../../helper/ssg/index.js";
var { write } = Bun;
var bunFileSystemModule = {
writeFile: async (path, data) => {
await write(path, data);
},
mkdir: async () => {
}
};
var toSSG = async (app, options) => {
return baseToSSG(app, bunFileSystemModule, options);
};
export {
bunFileSystemModule,
toSSG
};