@astrojs/node@10.1.3

withastro/astro@astrojs/node@10.1.3Jun 2, 2026by astrobot-houston

AI Summary

This is a patch release for the Node adapter that fixes a bug where prerendered pages would return 404 errors when using specific build formats in standalone mode.

Key Highlights

  • Fixes 404 errors for prerendered pages in standalone mode
  • Resolves clean URLs (e.g., /about) to .html files
  • Supports build.format 'file' and 'preserve' correctly

Full Release Notes

### Patch Changes

-   [#16922](https://github.com/withastro/astro/pull/16922) [`7dce185`](https://github.com/withastro/astro/commit/7dce1852a4f185fb44f885030f48c1883e9b17ff) Thanks [@astrobot-houston](https://github.com/astrobot-houston)! - Fixes prerendered pages returning 404 when using `build.format: 'file'` or `build.format: 'preserve'` with the Node adapter in standalone mode.

    Previously, clean URLs like `/about` would fail to resolve to `about.html` on disk, because the static file handler only supported the default `directory` format (`about/index.html`). Now the handler correctly resolves clean URLs to `.html` files when the build format produces them.