image credit: Freepik

Astro boosts HTML file control, i18n support

February 5, 2024

Via: InfoWorld

Another update to the Astro web framework for content-driven websites has arrived. Only weeks since the release of Astro 4.2, Astro 4.3 brings more control over HTML file output and adds experimental domain support for different international (i18n) locales.

Astro 4.3 was introduced February 1. Developers can upgrade Astro using the following command:

npx @astrojs/upgrade

More control over HTML file output is enabled by a new build.format option, called preserve, that offers more control over the resulting HTML files in a production build. This option will preserve file system structure and ensure it is mirrored over to production. The feature offers better compatibility with some web servers with strict requirements on structuring of files.

Read More on InfoWorld