0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages
Erika a1108e0371
Move image() to be passed as part of schema (#6703)
* feat(images): Move image() to schema so we can do relative images easily instead of clumsily

* chore: changeset

* fix: apply feedback

* test: add more tests

* fix: properly infer type if a function is used

* feat(iamge): Add errors when using the old methods

* chore: update to minor

* feat(image): Move function shape to be experimental.asets only

* Update packages/astro/src/content/template/virtual-mod.mjs

Co-authored-by: Ben Holmes <hey@bholmes.dev>

---------

Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-04-05 15:40:05 +02:00
..
astro Move image() to be passed as part of schema (#6703) 2023-04-05 15:40:05 +02:00
astro-prism [ci] release (#6476) 2023-03-13 16:05:43 -04:00
astro-rss [ci] release (#6694) 2023-03-31 16:32:28 +02:00
create-astro [ci] release (#6652) 2023-03-28 13:17:46 -04:00
integrations Add build.assetsPrefix option for CDN support (#6714) 2023-04-05 21:31:17 +08:00
markdown [ci] format 2023-04-04 08:23:34 +00:00
telemetry feat(all): Migrate to TypeScript 5.0 (#6579) 2023-03-20 17:02:07 +01:00
webapi feat(all): Migrate to TypeScript 5.0 (#6579) 2023-03-20 17:02:07 +01:00