Added Masthead, CMDPalette and PostHeader Components

This commit is contained in:
2026-02-27 14:41:49 +01:00
parent f6eb9dd7e1
commit ee099346db
136 changed files with 3736 additions and 244 deletions

View File

@@ -4,14 +4,22 @@ import markdoc from '@astrojs/markdoc';
import keystatic from '@keystatic/astro';
import node from '@astrojs/node';
import preact from '@astrojs/preact';
// https://astro.build/config
export default defineConfig({
output: 'static',
integrations: [react(), markdoc(), keystatic()],
integrations: [react(), markdoc(), keystatic(), preact()],
adapter: node({
mode: 'standalone',
}),
});
vite: {
ssr: {
noExternal: ['lodash'],
},
optimizeDeps: {
include: ['react', 'react-dom', 'react/jsx-runtime'],
},
},
});