Fixed astro static deploy
Some checks failed
Build and Deploy DAVE | DMGs Site / deploy (push) Failing after 46s
Some checks failed
Build and Deploy DAVE | DMGs Site / deploy (push) Failing after 46s
This commit is contained in:
@@ -9,11 +9,12 @@ import preact from '@astrojs/preact';
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
output: 'static',
|
||||
integrations: [react(), markdoc(), keystatic(), preact()],
|
||||
|
||||
adapter: node({
|
||||
mode: 'standalone',
|
||||
}),
|
||||
integrations: [
|
||||
react(),
|
||||
markdoc(),
|
||||
preact(),
|
||||
...(process.env.SKIP_KEYSTATIC ? [] : [keystatic()]),
|
||||
],
|
||||
vite: {
|
||||
ssr: {
|
||||
noExternal: ['lodash'],
|
||||
@@ -22,4 +23,4 @@ export default defineConfig({
|
||||
include: ['react', 'react-dom', 'react/jsx-runtime'],
|
||||
},
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user