This repository was archived by the owner on Jan 10, 2024. It is now read-only.
Releases: testdouble/grunt-asset-fingerprint
Releases · testdouble/grunt-asset-fingerprint
0.2.1
0.2.0
- Adds an option "cdnPrefixForRootPaths" when set to a string (e.g. "http://cdn.testdouble.com"), then any absolute references to resources will have the CDN prefixed onto them at find-and-replace time.
0.1.3
0.1.2
0.1.1
0.1.0
- add a
findAndReplaceFilesglob option. When set, any matches will
have the logical path for each fingerprinted-file-so-far replaced with
the fingerprinted path. This allows the user to carefully order
things so that files that reference other files can be sure to come after
them in the process. non-fingerprinted files (like HTML templates) can
have the search and replace performed on them as well. - add a
keepOriginalFilesoption. Defaults to true. - pretty prints asset manifest
Example config:
assetFingerprint:
options:
findAndReplaceFiles: ["dist/**/*.js", "dist/**/*.css", "dist/**/*.html", "dist/**/*.xml"]
keepOriginalFiles: false