mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
2484dc4080
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Mia Kanashi <chad@redpilled.dev>
13 lines
421 B
Markdown
13 lines
421 B
Markdown
---
|
|
'astro': major
|
|
---
|
|
|
|
This import alias is no longer included by default with astro:assets. If you were using this alias with experimental assets, you must convert them to relative file paths, or create your own [import aliases](https://docs.astro.build/en/guides/aliases/).
|
|
|
|
```diff
|
|
---
|
|
// src/pages/posts/post-1.astro
|
|
- import rocket from '~/assets/rocket.png'
|
|
+ import rocket from '../../assets/rocket.png';
|
|
---
|
|
```
|