mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
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>
281 B
281 B
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.
<script>
// This will not return an optimized asset
import Component from './Component.vue?component'
</script>