@astrojs/[email protected]
@astrojs/[email protected]
astro
Release Notes
Minor Changes
#17245
f56d9e7Thanks @astrobot-houston! - AddsedgeFunctionsto thedevFeaturesadapter option, allowing users to disable Netlify Edge Function emulation duringastro devSome npm packages that access the filesystem at initialization (e.g.
node-html-parser) fail inside the edge function sandbox with "Reading or writing files with Edge Functions is not supported yet." You can now disable edge function emulation to avoid this error:import netlify from '@astrojs/netlify'; import { defineConfig } from 'astro/config'; export default defineConfig({ adapter: netlify({ devFeatures: { edgeFunctions: false, }, }), });Edge functions will still work in production builds and via
netlify dev.
Patch Changes
#17249
02b73b0Thanks @ematipico! - Fixes an issue where thepeerDependenciesfield used incorrect dependencies.Updated dependencies []:
- @astrojs/[email protected]