chore: add netlify

This commit is contained in:
Ayo 2023-09-25 16:59:58 +02:00
parent 29c25dde87
commit 392eebd7d1
5 changed files with 4 additions and 11 deletions

View file

@ -1,7 +1,8 @@
import tailwind from '@astrojs/tailwind';
import netlify from '@astrojs/netlify/functions';
import { defineConfig } from 'astro/config';
export default defineConfig({
integrations: [tailwind()],
integrations: [tailwind(), netlify()],
site: 'https://astro-reactive.dev',
});

View file

@ -29,6 +29,7 @@
},
"dependencies": {
"@astro-reactive/tsconfig": "*",
"@astrojs/netlify": "^3.0.1",
"@astrojs/tailwind": "^5.0.0",
"astro-iconify": "^1.2.0",
"micromodal": "^0.4.10",

View file

@ -1,8 +0,0 @@
import { defineConfig } from "astro/config";
import netlify from "@astrojs/netlify";
// https://astro.build/config
export default defineConfig({
output: "server",
adapter: netlify(),
});

2
package-lock.json generated
View file

@ -14,7 +14,6 @@
"configs/*"
],
"dependencies": {
"@astrojs/netlify": "^3.0.1",
"@changesets/cli": "^2.26.2",
"prettier": "^3.0.3",
"prettier-plugin-astro": "^0.12.0",
@ -113,6 +112,7 @@
"license": "MIT",
"dependencies": {
"@astro-reactive/tsconfig": "*",
"@astrojs/netlify": "^3.0.1",
"@astrojs/tailwind": "^5.0.0",
"astro-iconify": "^1.2.0",
"micromodal": "^0.4.10",

View file

@ -32,7 +32,6 @@
"configs/*"
],
"dependencies": {
"@astrojs/netlify": "^3.0.1",
"@changesets/cli": "^2.26.2",
"prettier": "^3.0.3",
"prettier-plugin-astro": "^0.12.0",