Skip to content

Releases: ben-rogerson/laravel-mix-make-file-hash

2.2.0

01 Nov 20:44
Compare
Choose a tag to compare
  • Insert hash before the last dot in a filename (#5)
  • Add option to disable file operations (#4)

Updated API, Blacklist filetypes, Promise based returns

28 Jan 08:02
Compare
Choose a tag to compare

New year, new release! 🥳

  • Changed to an object-based config rather than a series of comma args (See readme example for more details).
  • Added config to blacklist certain filetypes (and also remove them from the manifest).
    { fileTypesBlacklist: ["html"], keepBlacklistedEntries: true, }
  • Rewrote everything to use async and await.
  • Return a Promise containing the manifest so you can perform additional steps after the manifest is generated.

New feature: del.sync options

19 Jul 01:24
Compare
Choose a tag to compare

Added the ability to pass through options to del.sync.

laravelMixMakeFileHash(
    publicPath,
    manifestFilePath,
    delSyncOptions = { force: true },
)