Skip to content

Releases: nystudio107/craft-twigpack

Version 1.1.10

03 Oct 19:47
Compare
Choose a tag to compare

Changed

  • Changed examples to use ’dev’ for local development (instead of ’local’)

Version 1.1.9

02 Oct 00:16
Compare
Choose a tag to compare

Added

  • Added getModuleHash() function, to grab the hash key of a module

Changed

  • Fixed an issue where isHot was not set before use
  • Fixed getFileFromManifest() to load files from webpack-dev-server

Version 1.1.8

06 Aug 01:15
Compare
Choose a tag to compare

Changed

  • Added cacheKeySuffix to the Settings model

Version 1.1.7

05 Jun 14:57
Compare
Choose a tag to compare

Changed

  • Clarify expected output with no second param
  • Code cleanup

Version 1.1.6

06 May 14:25
Compare
Choose a tag to compare

Changed

  • Fixed an issue where null could potentially be passed in to resolveTemplate()

Version 1.1.5

24 Mar 19:12
Compare
Choose a tag to compare

Changed

  • Fixed a typo in the twigpack-manifest-cache cache key
  • Changed deprecated \Twig_Markup to \Twig\Markup
  • Elaborated on Twigpack's caching and how to clear it in the README.md

Version 1.1.4

23 Jan 01:37
Compare
Choose a tag to compare

Changed

  • Handle the case where there is an error decoding the JSON from the manifest
  • Updated the documentation to reflect using @webroot/ by default for the server manifestPath

Version 1.1.3

31 Oct 04:19
Compare
Choose a tag to compare

Changed

  • Make includeCriticalCssTags() and includeInlineCssTags() soft errors that do nothing if the file is missing

Version 1.1.2

25 Oct 15:42
Compare
Choose a tag to compare

Added

  • Added the ability for Hot Module Replacement (HMR) to work through Twig error template pages via the errorEntry setting in config.php

Version 1.1.1

16 Oct 14:22
Compare
Choose a tag to compare

Changed

  • Fixed an issue where if the manifest.json was served remotely via https, Twigpack was unable to load it
  • Made all errors "soft" for missing CSS/JS modules, so a warning will be logged, but life continues on