astro/.changeset/blue-rocks-smoke.md
Matthew Phillips 80034c6cbc
Netlify adapter (#2879)
* 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
2022-03-25 12:08:02 -04:00

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()
});
```