diff --git a/source/astro.mjs b/source/astro.mjs index 31440e7..b0fa006 100755 --- a/source/astro.mjs +++ b/source/astro.mjs @@ -3,6 +3,8 @@ import node from '@astrojs/node' import vue from '@astrojs/vue' import astroI18next from "astro-i18next" import mdx from '@astrojs/mdx' +import bun from "@nurodev/astro-bun"; + // https://astro.build/config export default defineConfig({ @@ -25,15 +27,22 @@ export default defineConfig({ }, // Use Server-Side Rendering output: 'server', - adapter: node({ - mode: 'standalone' - }), + adapter: bun(), // Vite vite: { server: { hmr: true // Auto Reload } }, + // Experimental + experimental: { + directRenderScript: true, + clientPrerender: true + }, + prefetch: { + prefetchAll: true, + defaultStrategy: "viewport" + }, // Others devToolbar: { enabled: false