Releases: nystudio107/craft-twigpack
Releases · nystudio107/craft-twigpack
Version 1.1.10
Changed
- Changed examples to use
’dev’
for local development (instead of’local’
)
Version 1.1.9
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
Changed
- Added
cacheKeySuffix
to the Settings model
Version 1.1.7
Changed
- Clarify expected output with no second param
- Code cleanup
Version 1.1.6
Changed
- Fixed an issue where
null
could potentially be passed in toresolveTemplate()
Version 1.1.5
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
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 theserver
manifestPath
Version 1.1.3
Changed
- Make
includeCriticalCssTags()
andincludeInlineCssTags()
soft errors that do nothing if the file is missing
Version 1.1.2
Added
- Added the ability for Hot Module Replacement (HMR) to work through Twig error template pages via the
errorEntry
setting inconfig.php
Version 1.1.1
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