the first entry of the array must describe the destination path of the file,
relative to whichever build process's dir that you are using (typically defined in the config's dir field).
the second entry should be the file's contents, which can either be a string text, a ReadableStream, or a Uint8Array binary.
the third and optional entry lets you specify additional Deno.WriteFileOptions | deno specific file writing options,
such as "append" the new text, or permit the creation ("create") of new file if it doesn't exist, etc...
a description of a writable (or appendable) file.
dir
that you are using (typically defined in the config'sdir
field).string
text, aReadableStream
, or aUint8Array
binary."append"
the new text, or permit the creation ("create"
) of new file if it doesn't exist, etc...