netlify config
This commit is contained in:
+7
-1
@@ -1,4 +1,10 @@
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({ output: 'server' });
|
||||
import netlify from "@astrojs/netlify/functions";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
output: 'server',
|
||||
adapter: netlify()
|
||||
});
|
||||
Generated
+19
@@ -8,6 +8,7 @@
|
||||
"name": "@example/basics",
|
||||
"version": "0.0.1",
|
||||
"dependencies": {
|
||||
"@astrojs/netlify": "^1.2.2",
|
||||
"@picocss/pico": "^1.5.6",
|
||||
"astro": "^1.6.13",
|
||||
"astro-remote": "^0.2.3",
|
||||
@@ -100,6 +101,15 @@
|
||||
"vfile-message": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@astrojs/netlify": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@astrojs/netlify/-/netlify-1.2.2.tgz",
|
||||
"integrity": "sha512-EfDAK7A0S0080HVGz4zheXD2yyGFebSoRe7yXbkj/S6gW657NrgixYYzJDn+aoQluLXdQ2s6JxErwczwKgJBcQ==",
|
||||
"dependencies": {
|
||||
"@astrojs/webapi": "^1.1.1",
|
||||
"esbuild": "^0.15.18"
|
||||
}
|
||||
},
|
||||
"node_modules/@astrojs/prism": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@astrojs/prism/-/prism-1.0.2.tgz",
|
||||
@@ -5760,6 +5770,15 @@
|
||||
"vfile-message": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"@astrojs/netlify": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@astrojs/netlify/-/netlify-1.2.2.tgz",
|
||||
"integrity": "sha512-EfDAK7A0S0080HVGz4zheXD2yyGFebSoRe7yXbkj/S6gW657NrgixYYzJDn+aoQluLXdQ2s6JxErwczwKgJBcQ==",
|
||||
"requires": {
|
||||
"@astrojs/webapi": "^1.1.1",
|
||||
"esbuild": "^0.15.18"
|
||||
}
|
||||
},
|
||||
"@astrojs/prism": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@astrojs/prism/-/prism-1.0.2.tgz",
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/netlify": "^1.2.2",
|
||||
"@picocss/pico": "^1.5.6",
|
||||
"astro": "^1.6.13",
|
||||
"astro-remote": "^0.2.3",
|
||||
|
||||
Reference in New Issue
Block a user