Package detail

makestatic-write-file

makestatic40MIT1.0.25

Writes output files to disc

makestatic, makestatic-plugin, file, write

readme

Write File

Write output files to disc

Plugin that writes output files to disc.



Install

yarn add makestatic-write-file

API

WriteFile

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

.sources

WriteFile.prototype.sources(file, context)

Writes a file to disc.

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

  • file Object the current file.
  • context Object the processing context.

License

MIT


Created by mkdoc on March 12, 2017