jlarmstrongiv / astro-i18n-aut

The i18n integration for Astro 🧑‍🚀
https://www.npmjs.com/package/astro-i18n-aut
MIT License
125 stars 12 forks source link

Rename Integration API property 'entrypoint' to support change in Astro v4 #40

Closed rodynenko closed 10 months ago

rodynenko commented 10 months ago

Astro v4 rename injectRoute's argument property entryPoint to entrypoint. https://docs.astro.build/en/guides/upgrade-to/v4/#renamed-entrypoint-integrations-api

To support both v3 and v4 we can pass both entryPoint and entrypoint.

jlarmstrongiv commented 10 months ago

Thanks @rodynenko ! I ended up dropping support for Astro v3 since it creates errors. I credited you on the release commit though 👍