File tree 2 files changed +3
-3
lines changed
packages/bundler-vite/src/build
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export const renderPagePrefetchLinks = ({
39
39
if ( shouldPrefetch !== true && ! shouldPrefetch ( item , type ) ) {
40
40
return ''
41
41
}
42
- return `<link rel="prefetch" href="${ app . options . base } ${ item } " as="${ type } " / >`
42
+ return `<link rel="prefetch" href="${ app . options . base } ${ item } " as="${ type } ">`
43
43
} )
44
44
. join ( '' )
45
45
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export const renderPageStyles = ({
13
13
} ) : string =>
14
14
outputCssAsset
15
15
? [
16
- `<link rel="preload" href="${ app . options . base } ${ outputCssAsset . fileName } " as="style" / >` ,
17
- `<link rel="stylesheet" href="${ app . options . base } ${ outputCssAsset . fileName } " / >` ,
16
+ `<link rel="preload" href="${ app . options . base } ${ outputCssAsset . fileName } " as="style">` ,
17
+ `<link rel="stylesheet" href="${ app . options . base } ${ outputCssAsset . fileName } ">` ,
18
18
] . join ( '' )
19
19
: ''
You can’t perform that action at this time.
0 commit comments