Skip to content

Commit c107402

Browse files
shuuji3jay-es
andauthored
Apply suggestions from code review
Co-authored-by: Jun Shindo <46585162+jay-es@users.noreply.github.com>
1 parent 34e9c28 commit c107402

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

guide/features.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,12 +565,12 @@ const moduleUrls = import.meta.glob('./dir/*.svg', {
565565
```ts
566566
// vite によって生成されるコード:
567567
const moduleStrings = {
568-
'./dir/bar.svg': () => import('./dir/bar.js?raw').then((m) => m['default']),
569-
'./dir/foo.svg': () => import('./dir/foo.js?raw').then((m) => m['default']),
568+
'./dir/bar.svg': () => import('./dir/bar.svg?raw').then((m) => m['default']),
569+
'./dir/foo.svg': () => import('./dir/foo.svg?raw').then((m) => m['default']),
570570
}
571571
const moduleUrls = {
572-
'./dir/bar.svg': () => import('./dir/bar.js?url').then((m) => m['default']),
573-
'./dir/foo.svg': () => import('./dir/foo.js?url').then((m) => m['default']),
572+
'./dir/bar.svg': () => import('./dir/bar.svg?url').then((m) => m['default']),
573+
'./dir/foo.svg': () => import('./dir/foo.svg?url').then((m) => m['default']),
574574
}
575575
```
576576

0 commit comments

Comments
 (0)