mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
a83e362ee4
* Prevent usage of astro:content in the client * Fix build errors * Update .changeset/neat-dots-hear.md Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Throw an AstroError * Just throw --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
400 B
400 B
astro |
---|
major |
Prevent usage of astro:content
in the client
Usage of astro:content
in the client has always been discouraged because it leads to all of your content winding up in your client bundle, and can possibly leaks secrets.
This formally makes doing so impossible, adding to the previous warning with errors.
In the future Astro might add APIs for client-usage based on needs.