makestatic-resolve-file v1.0.25
Resolve File
Resolves output file paths
Resolves the output file paths and updates file content.
Install
yarn add makestatic-resolve-fileAPI
ResolveFile
Sets the output path for files that are about to be written to disc and
calls update() on the file so that files assigned a seal function may
update the file content buffer.
.sources
ResolveFile.prototype.sources(file, context)Resolves the file output path and file content.
If the file has already had an output path set it is assumed to be a
path relative to the output directory and modified to include the output
directory in the file path.
fileObject the current file.contextObject the processing context.
License
MIT
Created by mkdoc on March 12, 2017
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago