1947ef7a99
* fix: no asset plugin w/ img is imported with query * add changeset * add test for the new feature * remove exp * use removeQueryString instead of `includes('?')` it's more explicit --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
13 lines
281 B
Markdown
13 lines
281 B
Markdown
---
|
|
'astro': patch
|
|
---
|
|
|
|
Astro will now skip asset optimization when there is a query in the import. Instead, it will let vite deal with it using plugins.
|
|
|
|
```vue
|
|
<script>
|
|
// This will not return an optimized asset
|
|
import Component from './Component.vue?component'
|
|
</script>
|
|
```
|
|
|