Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions guide/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ export type { T }

### TypeScript コンパイラーオプション

Vite は `tsconfig.json` のいくつかのオプションを尊重し、対応する esbuild のオプションを設定します。各ファイルに対して、Vite は最も近い親ディレクトリーにある `tsconfig.json` を使用します。その `tsconfig.json` に [`references`](https://www.typescriptlang.org/tsconfig/#references) フィールドが含まれている場合、Vite は [`include`](https://www.typescriptlang.org/tsconfig/#include) と [`exclude`](https://www.typescriptlang.org/tsconfig/#exclude) フィールドを満たす参照された設定ファイルを使用します。

オプションが Vite の設定と `tsconfig.json` の両方に設定されている場合、Vite の設定の値が優先されます。

`tsconfig.json` の `compilerOptions` にあるいくつかの設定フィールドには、特別な注意が必要です。

#### `isolatedModules`
Expand Down