summaryrefslogtreecommitdiff
path: root/.changeset/disable-asset-with-query.md
blob: 3eca21a62af9e2ab86051fecd246a61b83531b63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
'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>
```