Skip to content

v2.2.0

Latest

Choose a tag to compare

@YanikCeulemans YanikCeulemans released this 25 Feb 20:11

#5 has been resolved thus bringing logging.

Following features were added:

  • Logging is now supported by providing an object with an info function to the options under the name: logger. e.g. assetCacheBust('some html', 'root path', { logger: { info: function (msg) { /* do something with the msg*/ } } }
  • A verbose option was added to the CLI so you can see what it's doing. This is useful as a debugging tool when your assets are not being cache busted. Use it by typing asset-cache-bust some.html --verbose. See the CLI help for more information (asset-cache-bust --help).