From 3119a81a4332da43bfe832b1d234629c9cddc164 Mon Sep 17 00:00:00 2001 From: pvcresin Date: Mon, 20 Jan 2025 10:59:25 +0900 Subject: [PATCH] Update dest.md (add description for encoding option) I referred to the documentation of the src function --- docs/api/dest.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api/dest.md b/docs/api/dest.md index e9d8bb355..8cbb132ab 100644 --- a/docs/api/dest.md +++ b/docs/api/dest.md @@ -60,6 +60,7 @@ When `directory` is a function that returns an empty string or `undefined`, emit | name | type | default | note | |:-------:|:------:|-----------|-------| +| encoding | string
boolean | "utf8" | When false, file contents are treated as binary. When a string, this is used as the text encoding. | | cwd | string
function | `process.cwd()` | The directory that will be combined with any relative path to form an absolute path. Is ignored for absolute paths. Use to avoid combining `directory` with `path.join()`. | | mode | number
function | `stat.mode` of the Vinyl object | The mode used when creating files. If not set and `stat.mode` is missing, the process' mode will be used instead. | | dirMode | number
function | | The mode used when creating directories. If not set, the process' mode will be used. |