From 6c525bcf9876de8d75288eea2cfb66b458ac9957 Mon Sep 17 00:00:00 2001 From: passthem Date: Tue, 7 Apr 2026 13:34:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=9E=84=E5=BB=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astro.config.mjs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/astro.config.mjs b/astro.config.mjs index a8afed8..95a0452 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -12,6 +12,7 @@ const ICON2_URL = // https://astro.build/config export default defineConfig({ + output: 'server', adapter: node({ mode: 'standalone', }), @@ -21,4 +22,11 @@ export default defineConfig({ redirects: { '/assets/icon-qq-BThBBmjV.jpg': ICON2_URL, }, + vite: { + build: { + rollupOptions: { + external: ['node:crypto', 'buffer', 'keyv'], + }, + }, + }, })