mirror of
https://github.com/withastro/astro.git
synced 2025-03-10 23:01:26 -05:00
fix: update netlify import (#9461)
* fix: update netlify import * fix: update one comment
This commit is contained in:
parent
047d285be1
commit
429be8cc3e
3 changed files with 7 additions and 2 deletions
5
.changeset/friendly-tables-worry.md
Normal file
5
.changeset/friendly-tables-worry.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
update import created for `astro create netlify`
|
|
@ -677,7 +677,7 @@ export interface AstroUserConfig {
|
|||
* [See our Server-side Rendering guide](https://docs.astro.build/en/guides/server-side-rendering/) for more on SSR, and [our deployment guides](https://docs.astro.build/en/guides/deploy/) for a complete list of hosts.
|
||||
*
|
||||
* ```js
|
||||
* import netlify from '@astrojs/netlify/functions';
|
||||
* import netlify from '@astrojs/netlify';
|
||||
* {
|
||||
* // Example: Build for Netlify serverless deployment
|
||||
* adapter: netlify(),
|
||||
|
|
|
@ -71,7 +71,7 @@ public-hoist-pattern[]=*lit*
|
|||
`;
|
||||
|
||||
const OFFICIAL_ADAPTER_TO_IMPORT_MAP: Record<string, string> = {
|
||||
netlify: '@astrojs/netlify/functions',
|
||||
netlify: '@astrojs/netlify',
|
||||
vercel: '@astrojs/vercel/serverless',
|
||||
cloudflare: '@astrojs/cloudflare',
|
||||
node: '@astrojs/node',
|
||||
|
|
Loading…
Add table
Reference in a new issue