write-file

Writes output files to disc.

Writes a file to disc using the output path and content buffer assigned to the file.

WriteFile.prototype.sources(file, context)

Writes a file to disc.

Returns a promise that resolves when the file has been written.