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>
14 lines
277 B
JavaScript
14 lines
277 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import vue from '@astrojs/vue';
|
|
import ViteSvgLoader from 'vite-svg-loader'
|
|
|
|
export default defineConfig({
|
|
integrations: [vue({
|
|
appEntrypoint: '/src/pages/_app'
|
|
})],
|
|
vite: {
|
|
plugins: [
|
|
ViteSvgLoader(),
|
|
],
|
|
},
|
|
})
|