Skip to content

Releases: michaljurecko/n-asset-macro

v2.0.2

16 Jan 11:43
Compare
Choose a tag to compare
  • fixed caching, include $baseUrl in cache key, server can be accessed from multiple URLs

v2.0.1

11 Dec 12:48
Compare
Choose a tag to compare
  • New class Formatter
  • Format asset path even if asset not exists (and option missingAsset=ignore or needed=false)

v2.0.0

05 Dec 09:27
Compare
Choose a tag to compare
  • Complet refactoring
  • Added ManifestService to access manifest data
  • The ability to generate absolute urls
  • Default output format can be modified in configuration
  • Added %base% and %baseUrl% placeholders

v1.2.2

05 Dec 09:23
Compare
Choose a tag to compare

Allow leading / in asset path in manifest.json, eg. "static/front.css": "/static/front.css"

v1.2.1

24 Sep 19:21
Compare
Choose a tag to compare
  • Simplified code: replaced !%debugMode% with %productionMode%.

v1.2.0

21 Sep 13:11
Compare
Choose a tag to compare
  • Added caching of macro output.
  • Added %content% placeholder for inserting asset content in format argument.

v1.1.0

31 Aug 09:40
Compare
Choose a tag to compare

Added cache for JSON manifest content.
It is parsed only once when the macro is used several times.

v1.0.0

14 Aug 07:55
Compare
Choose a tag to compare

Completely redesigned.

Support for two formats of revision manifest:

  • versions
  • paths

v0.1

20 Jan 11:40
Compare
Choose a tag to compare

initial version