-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: clarify where it applies for each config options (#1625)
resolve #1622 vitejs/vite@eec021d の反映です。
- Loading branch information
Showing
7 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# ビルドオプション | ||
|
||
特に記載がない限り、このセクションのオプションはビルドにのみ適用されます。 | ||
|
||
## build.target | ||
|
||
- **型:** `string | string[]` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# プレビューのオプション | ||
|
||
特に記載がない限り、このセクションのオプションはプレビューにのみ適用されます。 | ||
|
||
## preview.host | ||
|
||
- **型:** `string | boolean` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# サーバーオプション | ||
|
||
特に記載がない限り、このセクションのオプションは開発にのみ適用されます。 | ||
|
||
## server.host | ||
|
||
- **型:** `string | boolean` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# 共通オプション | ||
|
||
特に記載がない限り、このセクションのオプションは開発、ビルド、プレビューのすべてに適用されます。 | ||
|
||
## root | ||
|
||
- **型:** `string` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# SSR オプション | ||
|
||
特に記載がない限り、このセクションのオプションは開発とビルドの両方に適用されます。 | ||
|
||
## ssr.external | ||
|
||
- **型:** `string[] | true` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# ワーカーのオプション | ||
|
||
Web Worker に関連するオプション。 | ||
特に記載がない限り、このセクションのオプションは開発、ビルド、プレビューのすべてに適用されます。 | ||
|
||
## worker.format | ||
|
||
|