Skip to content

Commit

Permalink
chore: add netlify adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
raae committed May 25, 2024
1 parent e2f9f3c commit fed4cc2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
8 changes: 3 additions & 5 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { defineConfig } from "astro/config";
import node from "@astrojs/node";

import db from "@astrojs/db";

import netlify from "@astrojs/netlify";

// https://astro.build/config
export default defineConfig({
output: "server",
adapter: node({
mode: "standalone"
}),
adapter: netlify(),
integrations: [db()]
});
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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/check": "^0.5.4",
"@astrojs/db": "^0.10.5",
"@astrojs/netlify": "^5.1.2",
"@astrojs/netlify": "^5.2.1",
"@astrojs/node": "^8.2.0",
"astro": "^4.4.0",
"dotenv": "^16.4.4",
Expand Down

0 comments on commit fed4cc2

Please sign in to comment.