Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

0.1.0

Choose a tag to compare

@searls searls released this 29 Jan 06:44
· 33 commits to main since this release
  • add a findAndReplaceFiles glob 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 keepOriginalFiles option. Defaults to true.
  • pretty prints asset manifest

Example config:

    assetFingerprint:
      options:
        findAndReplaceFiles: ["dist/**/*.js", "dist/**/*.css", "dist/**/*.html", "dist/**/*.xml"]
        keepOriginalFiles: false