Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: unflag experimental.assets #7921

Merged
merged 8 commits into from
Aug 16, 2023
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/warm-weeks-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"astro": major
---

`astro:assets` is now enabled by default and does not require `experimental.assets` to be enabled. In addition to the `astro:assets` module, this has two changes included by default:

- New ESM shape, importing an image will now return an object with different properties describing the image such as its path, format and dimensions.
- In Markdown, MDX, and Markdoc, images refered to using the `![]()` syntax will now properly be resolved no matter their position. This notably unlocks storing images next to your content.
TheOtterlord marked this conversation as resolved.
Show resolved Hide resolved
Princesseuh marked this conversation as resolved.
Show resolved Hide resolved

Loading