@oazmi/esbuild-generic-loader - v0.1.3
    Preparing search index...

    Type Alias WritableFileConfig

    WritableFileConfig: [
        destination: RelativePath,
        content: string
        | Uint8Array,
        options?: WriteFileConfig,
    ]

    the tuple description of a writable (or appendable) file.

    • the first entry of the array must describe the destination path of the file, relative to the directory defined in CreateFilesConfig.dir).
    • 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-like file writing options, such as "append" the new text, or permit the creation ("create") of new file if it doesn't exist, etc...