解决构建问题
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-07 13:34:10 +08:00
parent 7a3059f486
commit 6c525bcf98

View File

@ -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'],
},
},
},
})