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'],
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"build": "astro build",
|
||||
"build:static": "SKIP_KEYSTATIC=true astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user