Skip to content

Commit

Permalink
Revert "feat: node:bufferを使えるようにした"
Browse files Browse the repository at this point in the history
This reverts commit c989901.
  • Loading branch information
吉野敬太郎 authored and 吉野敬太郎 committed Sep 16, 2024
1 parent 101e2f0 commit 98a6eef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ export default defineConfig({
optimizeDeps: {
exclude: ["fsevents"],
},
ssr: {
external: ["node:buffer"],
},
},
output: "hybrid",
adapter: cloudflare(),
Expand Down
1 change: 0 additions & 1 deletion src/pages/og/[...slug].png.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { APIContext, APIRoute } from "astro";
import { getEntry } from "astro:content";
import { getOgImage } from "./_OgImage";
import { Buffer } from "node:buffer";

export const prerender = false;

Expand Down

0 comments on commit 98a6eef

Please sign in to comment.