0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/integrations/vue/test/fixtures/app-entrypoint/astro.config.mjs
Barthélémy Ledoux 1947ef7a99
fix: no asset plugin w/ img is imported with query (#8353)
* 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>
2023-09-06 15:01:01 +02:00

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(),
],
},
})