Skip to content

Commit f9a873b

Browse files
committed
revert: update moduleResolution value casing
resolve #1754 vitejs/vite@b0fc6e3 の反映です。
1 parent ce4c4cc commit f9a873b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.vitepress/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"compilerOptions": {
33
"target": "ES2022",
44
"module": "ESNext",
5-
"moduleResolution": "Bundler",
5+
"moduleResolution": "bundler",
66
"strict": true,
77
"noImplicitOverride": true,
88
"noUnusedLocals": true,
99
"esModuleInterop": true,
1010
"noEmit": true
1111
},
1212
"exclude": ["cache", "dist"]
13-
}
13+
}

guide/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Vite の内部および公式プラグインは、幅広いエコシステムと
5252
プラグインの作者の場合は上記のチェックの回数を減らすために、必要な時にのみ [`this.resolve`](https://rollupjs.org/plugin-development/#this-resolve) を呼び出すようにしてください。
5353

5454
::: tip TypeScript
55-
TypeScript を使用している場合は、`tsconfig.json``compilerOptions``"moduleResolution": "Bundler"` および `"allowImportingTsExtensions": true` を有効にして、コード内で直接 `.ts` および `.tsx` 拡張子を使用できるようにしてください。
55+
TypeScript を使用している場合は、`tsconfig.json``compilerOptions``"moduleResolution": "bundler"` および `"allowImportingTsExtensions": true` を有効にして、コード内で直接 `.ts` および `.tsx` 拡張子を使用できるようにしてください。
5656
:::
5757

5858
## バレルファイルを避ける

0 commit comments

Comments
 (0)