summaryrefslogtreecommitdiff
path: root/packages/integrations/netlify/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/netlify/src')
-rw-r--r--packages/integrations/netlify/src/integration-edge-functions.ts8
-rw-r--r--packages/integrations/netlify/src/integration-functions.ts6
2 files changed, 9 insertions, 5 deletions
diff --git a/packages/integrations/netlify/src/integration-edge-functions.ts b/packages/integrations/netlify/src/integration-edge-functions.ts
index 0556317d7..72ab6fb19 100644
--- a/packages/integrations/netlify/src/integration-edge-functions.ts
+++ b/packages/integrations/netlify/src/integration-edge-functions.ts
@@ -136,10 +136,12 @@ export function netlifyEdgeFunctions({ dist }: NetlifyEdgeFunctionsOptions = {})
setAdapter(getAdapter());
_config = config;
- if(config.output === 'static') {
+ if (config.output === 'static') {
console.warn(`[@astrojs/netlify] \`output: "server"\` is required to use this adapter.`);
- console.warn(`[@astrojs/netlify] Otherwise, this adapter is not required to deploy a static site to Netlify.`);
- }
+ console.warn(
+ `[@astrojs/netlify] Otherwise, this adapter is not required to deploy a static site to Netlify.`
+ );
+ }
},
'astro:build:start': async ({ buildConfig }) => {
_buildConfig = buildConfig;
diff --git a/packages/integrations/netlify/src/integration-functions.ts b/packages/integrations/netlify/src/integration-functions.ts
index d0b327f87..d78fb1f32 100644
--- a/packages/integrations/netlify/src/integration-functions.ts
+++ b/packages/integrations/netlify/src/integration-functions.ts
@@ -36,9 +36,11 @@ function netlifyFunctions({
setAdapter(getAdapter({ binaryMediaTypes }));
_config = config;
- if(config.output === 'static') {
+ if (config.output === 'static') {
console.warn(`[@astrojs/netlify] \`output: "server"\` is required to use this adapter.`);
- console.warn(`[@astrojs/netlify] Otherwise, this adapter is not required to deploy a static site to Netlify.`);
+ console.warn(
+ `[@astrojs/netlify] Otherwise, this adapter is not required to deploy a static site to Netlify.`
+ );
}
},
'astro:build:start': async ({ buildConfig }) => {
c/runtime/client/dev-overlay/plugins/xray.ts?h=@astrojs/vercel@6.0.0-beta.1&id=4b8a42406bbdcc68604ea4ecc2a926721fbc4d52&follow=1'>Ensure dev overlay x-ray highlight goes over the island (#9227)Gravatar Matthew Phillips 3-1/+23 * Ensure dev overlay x-ray highlight goes over the island * oops 2023-11-29Small polish to the overlay (#9214)Gravatar Erika 2-5/+14 2023-11-29chore: remove deprecated `matchNotFound` options (#9212)Gravatar Alexander Niebuhr 5-10/+12 Co-authored-by: Matthew Phillips <matthew@skypack.dev> 2023-11-28[ci] release (beta) (#9211)astro@4.0.0-beta.1@astrojs/upgrade@0.1.0-beta.0Gravatar Houston (Bot) 36-68/+118 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2023-11-28feat: implement overlay main screen redesign (#9118)Gravatar Erika 50-217/+3638 * feat: implement redesign * fix: make it build * feat: visual tweaks * feat(overlay): update styling, integration endpoint * feat: add fallback icons * Clean up tests (#9183) * Add `@astrojs/upgrade` package for automatic package upgrades (#8525) Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * [ci] format * fix: links with same path but different search params not prefetched (#9189) Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * fix: discord icon * chore: changeset --------- Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Spencer Whitehead <35475068+SpencerWhitehead7@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> 2023-11-27[ci] release (beta) (#9114)create-astro@4.5.2-beta.0astro@4.0.0-beta.0@astrojs/vue@4.0.0-beta.0@astrojs/vercel@6.0.0-beta.0@astrojs/tailwind@6.0.0-beta.0@astrojs/svelte@5.0.0-beta.0@astrojs/rss@4.0.0-beta.0@astrojs/react@3.0.7-beta.0@astrojs/node@7.0.0-beta.0@astrojs/mdx@2.0.0-beta.0@astrojs/markdown-remark@4.0.0-beta.0Gravatar Houston (Bot) 66-154/+330 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2023-11-27Remove support for simple objects in endpoints (#9181)Gravatar Bjorn Lu 56-529/+206 * Deprecate simple object from endpoints * Update changeset * Add missing Response return Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com> * Update .changeset/clever-beds-notice.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> 2023-11-28Remove shiki lang path property support (#9196)Gravatar Bjorn Lu 7-427/+22 2023-11-28Remove deprecated features from Astro 3.0 (#9168)Gravatar Bjorn Lu 47-398/+95 2023-11-28Remove deprecated markdown-remark APIs (#9182)Gravatar Bjorn Lu 4-59/+7 2023-11-27[ci] release (#9180)astro@3.6.1Gravatar Houston (Bot) 32-65/+63 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2023-11-24Remove vercel deprecated analytics option (#9184)Gravatar Bjorn Lu 3-30/+12 2023-11-24[ci] formatGravatar Guspan Tanadi 1-2/+1 2023-11-24style: highlight markdown Tip Note section CONTRIBUTING (#9123)Gravatar Guspan Tanadi 1-5/+7 2023-11-23fix scroll restoration issue on webKit browsers (#9186)Gravatar Martin Trapp 2-1/+7 * fix scroll restoration issue on webKit browsers * add changeset * Update .changeset/shaggy-socks-glow.md * Update .changeset/shaggy-socks-glow.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> 2023-11-23fix(middleware): rename internal middleware id (#9173)Gravatar Arsh 2-1/+6 * rename internal middleware id * add changeset 2023-11-23fix: Changelog formatting for 3.6.0 View Transition events (#9176)Gravatar Martin Trapp 1-3/+3 Co-authored-by: Eva Decker <itsevadecker@gmail.com> 2023-11-22[ci] formatGravatar Eva Decker 1-3/+3 2023-11-22Fix View Transitions code block formatting (#9174)Gravatar Eva Decker 1-3/+3 2023-11-22Rename entryPoint to entrypoint (#9161)Gravatar Bjorn Lu 14-26/+38 Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> 2023-11-22Fix esbuild warning for local dev (#9160)Gravatar Bjorn Lu 1-1/+1 2023-11-22[ci] release (#9165)astro@3.6.0Gravatar Houston (Bot) 34-90/+83 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>