revision file names based on file content e.g myScript.js -> myScript.123456.js.
Also recursively replaces references to assets that are within revisioned assets e.g images withing css files.
Produces a manifest file to map versioned filename to original file name.
- Source:
(require("tasks/revision/fileNames"))(sources, destination, manifestLocation, excludeRecurse, deleteOriginals) → {function}
taskFactory
Parameters:
Name | Type | Description |
---|---|---|
sources |
Array | glob |
destination |
Array | glob |
manifestLocation |
String | |
excludeRecurse |
Array | |
deleteOriginals |
Boolean |
- Source:
Returns:
gulp stream
- Type
- function