80034c6cbc
* Netlify adapter * Remove package.json export that doesnt exist * Fix out path * Make netlifyFunctions the default * Make the dist configurable * Add an export for the functions * Append of the file exists
18 lines
329 B
Markdown
18 lines
329 B
Markdown
---
|
|
'astro': patch
|
|
'@astrojs/netlify': patch
|
|
'@astrojs/node': patch
|
|
---
|
|
|
|
Netlify Adapter
|
|
|
|
This change adds a Netlify adapter that uses Netlify Functions. You can use it like so:
|
|
|
|
```js
|
|
import { defineConfig } from 'astro/config';
|
|
import netlify from '@astrojs/netlify';
|
|
|
|
export default defineConfig({
|
|
adapter: netlify()
|
|
});
|
|
```
|