Skip to content

Commit

Permalink
fix(vercel): downgrade integration, fix socket hangup
Browse files Browse the repository at this point in the history
  • Loading branch information
kymppi committed Apr 3, 2023
1 parent 2d34142 commit a24914c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ pnpm-debug.log*
.direnv/

# vercel
.vercel/
.vercel/
13 changes: 5 additions & 8 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import compress from "astro-compress";
import robotsTxt from "astro-robots-txt";
import { defineConfig } from "astro/config";
import compress from "astro-compress";

import svelte from "@astrojs/svelte";

Expand All @@ -13,12 +13,9 @@ export default defineConfig({
integrations: [robotsTxt(), compress(), svelte()],
vite: {
ssr: {
external: ["svgo"]
}
},
experimental: {
integrations: true
external: ["svgo"],
},
},
output: "server",
adapter: vercel()
});
adapter: vercel(),
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"@astrojs/svelte": "^2.1.0",
"@astrojs/vercel": "^3.2.1",
"@astrojs/vercel": "^3.2.0",
"astro": "^2.1.8",
"astro-compress": "^1.1.32",
"astro-icon": "^0.8.0",
Expand Down

0 comments on commit a24914c

Please sign in to comment.