FRONTEND
Astro v13.1.0
RESUMEN
Minor Changes - #15711 `b2bd27b` Thanks @OliverSpeir! - Adds a `prerenderEnvironment` option to the Cloudflare adapter.
Descripción Detallada
Minor Changes - #15711 `b2bd27b` Thanks @OliverSpeir! - Adds a `prerenderEnvironment` option to the Cloudflare adapter. By default, Cloudflare uses its workerd runtime for prerendering static pages. Set `prerenderEnvironment` to `'node'` to use Astro's built-in Node.js prerender environment instead, giving prerendered pages access to the full Node.js ecosystem during both build and dev. This is useful when your prerendered pages depend on Node.js-specific APIs or NPM packages that aren't compatible with workerd. ```js // astro.config.mjs import cloudflare from '@astrojs/cloudflare'; import { defineConfig } from 'astro/config'; export default defineConfig({ adapter: cloudflare({ prerenderEnvironment: 'node', }), }); ``` Patch Changes - #15845 `50fcc8b` Thanks @aqiray! - fix: show actionable error when running astro preview without prior build - #15794 `d1ac58e` Thanks @OliverSpeir! - Fixes image serving in `passt
Astro v13.1.0 añade una opción para prerenderizar en Node.js en el adaptador de Cloudflare.
- Se agrega la opción `prerenderEnvironment` al adaptador de Cloudflare para usar Node.js en lugar de workerd.
- Se muestra un error claro al ejecutar `astro preview` sin una construcción previa.
- Se corrige el servicio de imágenes en `passt`.
A quién le importa
Solo si usas el adaptador de Cloudflare y necesitas Node.js para prerenderizar.
Generado por IA · puede contener errores
Releases Relacionados
FRONTEND
Astro v14.1.7
### Patch Changes - [#17543](https://github.com/withastro/astro/pull/17543) [`bbc1ec9`](https://github.com/withastro/astro/commit/bbc1ec9715160e25eb6a6fee2e133386414c0c00) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a bug where Cloudflare couldn't load chunked collections via `expe
FRONTEND
Astro v7.1.6
### Patch Changes - [#17536](https://github.com/withastro/astro/pull/17536) [`ff97b86`](https://github.com/withastro/astro/commit/ff97b86ab02d199af5fe0f6e9984e9919c8276bf) Thanks [@dmgawel](https://github.com/dmgawel)! - Fixes concurrent static builds failing to generate i18n rewrite fallbacks fo