Skip to content

Commit

Permalink
chore: add netlify adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
resir014 committed Nov 18, 2024
1 parent a30f9ba commit 1a3cd51
Show file tree
Hide file tree
Showing 3 changed files with 359 additions and 5 deletions.
7 changes: 4 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// @ts-check
import { defineConfig } from 'astro/config';

import tailwind from '@astrojs/tailwind';

import netlify from '@astrojs/netlify';
import react from '@astrojs/react';
import tailwind from '@astrojs/tailwind';

// https://astro.build/config
export default defineConfig({
output: 'server',
adapter: netlify(),
integrations: [tailwind(), react()],
});
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/netlify": "^5.5.4",
"@astrojs/react": "^3.6.2",
"@astrojs/tailwind": "^5.1.2",
"@astrojs/ts-plugin": "^1.10.4",
Expand Down
Loading

0 comments on commit 1a3cd51

Please sign in to comment.