Skip to content

Releases: nystudio107/craft-twigpack

Version 1.1.0

10 Oct 03:25
Compare
Choose a tag to compare

Added

  • Strings passed in to manifestPath can now be Yii2 aliases as well
  • Added craft.twigpack.includeFile()
  • Added craft.twigpack.includeFileFromManifest()
  • Added craft.twigpack.includeInlineCssTags()
  • Added craft.twigpack.includeCriticalCssTags()

Version 1.0.5

28 Sep 22:06
Compare
Choose a tag to compare

Changed

  • Check via empty() rather than !== null when checking the manifest for module entries
  • CSS module loading generates a soft error now, rather than throwing an NotFoundHttpException

Version 1.0.4

28 Sep 10:23
Compare
Choose a tag to compare

Added

  • Added this.onload=null; to async CSS link tag
  • Added craft.twigpack.includeCssRelPreloadPolyfill()

Changed

  • Better error reporting if modules don't exist in the manifest

Version 1.0.2

24 Sep 00:31
Compare
Choose a tag to compare

Added

  • Added getModuleUri() function
  • Added getManifestFile() function

Changed

  • Fixed return types to allow for null
  • Code refactoring

Version 1.0.1

22 Sep 17:45
Compare
Choose a tag to compare

Added

  • Better error logging if the manifest file can't be found (check storage/logs/web.log)
  • Throw a NotFoundHttpException if the manifest.json cannot be found

Version 1.0.0

22 Sep 03:46
Compare
Choose a tag to compare

Added

  • Initial release