Skip to content

Commit 13e95bf

Browse files
authored
旧184 docs: how to disable publicDir #13 (#49)
* Fix #13 * 訳文変更
1 parent a2bdbd5 commit 13e95bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,13 @@ export default async ({ command, mode }) => {
136136

137137
### publicDir
138138

139-
- **型:** `string`
139+
- **型:** `string | false`
140140
- **デフォルト:** `"public"`
141141

142142
加工せずに静的アセットとして配信するディレクトリ。このディレクトリのファイルは、開発時には `/` として配信され、ビルド時には `outDir` のルートにコピーされます。常に変換されることなくそのまま配信またはコピーされます。この値にはファイルシステムの絶対パスかプロジェクトルートからの相対パスを指定できます。
143143

144+
`publicDir``false` に設定すると、この機能は無効になります。
145+
144146
詳細は [The `public` Directory](/guide/assets#the-public-directory) を参照してください。
145147

146148
### cacheDir

0 commit comments

Comments
 (0)