mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-16 13:48:13 +00:00
fix(vite): provide default values for transformAssetUrls
(#24173)
This commit is contained in:
parent
1467f0cd55
commit
2832f0114b
@ -110,7 +110,16 @@ export const bundle: NuxtBuilder['bundle'] = async (nuxt) => {
|
||||
virtual(nuxt.vfs)
|
||||
],
|
||||
vue: {
|
||||
reactivityTransform: nuxt.options.experimental.reactivityTransform
|
||||
reactivityTransform: nuxt.options.experimental.reactivityTransform,
|
||||
template: {
|
||||
transformAssetUrls: {
|
||||
video: ['src', 'poster'],
|
||||
source: ['src'],
|
||||
img: ['src'],
|
||||
image: ['xlink:href', 'href'],
|
||||
use: ['xlink:href', 'href']
|
||||
}
|
||||
}
|
||||
},
|
||||
server: {
|
||||
watch: { ignored: isIgnored },
|
||||
|
Loading…
Reference in New Issue
Block a user