Added Masthead, CMDPalette and PostHeader Components
This commit is contained in:
@@ -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'],
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user