Creates an instance of post process files.
the full YASSB configuration file.
determines if we are in watch mode to skip unnecessary jobs meant for productions.
To speed up things post processing is async. All promises are stored and returned in an Array to wait with Promise.all
.
the full YASSB configuration file.
List of files to post process.
determines if we are in watch mode to skip unnecessary jobs meant for productions.
Do post process files by creating the list of file with ListFiles
and then delegating the actions for each file to PostProcessFile
. All promises returned by PostProcessFile
are pushed to an Array and returned so the calling process can wait if necessary.
all the promises in an Array.
Removes sitemap.xml if no siteHost
was set in the configuration.
Performs all actions to be carried on files after all directives have been executed..