minor changes and import buffer

This commit is contained in:
Gabriel Gomes 2025-03-31 00:48:48 +01:00
parent 6ee38ad826
commit a89f353f5b
3 changed files with 10 additions and 6 deletions

View file

@ -19,6 +19,11 @@ import type {
NonDeleted,
} from "@excalidraw/element/types";
import type { AppState, BinaryFiles } from "@excalidraw/excalidraw/types";
import { Buffer } from "buffer";
window.onload = () => {
window.Buffer = Buffer;
}
export { MIME_TYPES };