In a current version of this package if there is original file app.js and a user runs gulp task it will generate an output file (e.g. app-111111.js). If a content of original file app.js is changed and gulp task is run again different output file (e.g. app-222222.js) and the old one will exist as well.
This pull request adds functionality that helps to keep only one version of an output file and deletes old unneeded versions if they are redundant. A new version of a package supports old signature and provides backward compatibility for existing usage of hash.manifest() method.
In a current version of this package if there is original file
app.js
and a user runs gulp task it will generate an output file (e.g.app-111111.js
). If a content of original fileapp.js
is changed and gulp task is run again different output file (e.g.app-222222.js
) and the old one will exist as well.This pull request adds functionality that helps to keep only one version of an output file and deletes old unneeded versions if they are redundant. A new version of a package supports old signature and provides backward compatibility for existing usage of
hash.manifest()
method.Basic usage of a new function: