Skip to content

Commit 70ae76a

Browse files
committed
style: format code
1 parent 4c2ad02 commit 70ae76a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/bundler-vite/src/build/renderPagePrefetchLinks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ export const renderPagePrefetchLinks = ({
3232
const type = item.endsWith('.js')
3333
? 'script'
3434
: item.endsWith('.css')
35-
? 'style'
36-
: ''
35+
? 'style'
36+
: ''
3737

3838
// user wants to explicitly control what to prefetch
3939
if (shouldPrefetch !== true && !shouldPrefetch(item, type)) {

packages/bundler-vite/src/build/renderPagePreloadLinks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export const renderPagePreloadLinks = ({
3636
const type = item.endsWith('.js')
3737
? 'script'
3838
: item.endsWith('.css')
39-
? 'style'
40-
: ''
39+
? 'style'
40+
: ''
4141

4242
// by default, we only preload js and css
4343
if (shouldPreload === true && type !== 'script' && type !== 'style') {

0 commit comments

Comments
 (0)