Releases: nystudio107/craft-twigpack
Releases · nystudio107/craft-twigpack
Version 1.1.0
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
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
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
Added
- Added
getModuleUri()
function - Added
getManifestFile()
function
Changed
- Fixed return types to allow for null
- Code refactoring
Version 1.0.1
Added
- Better error logging if the manifest file can't be found (check
storage/logs/web.log
) - Throw a
NotFoundHttpException
if themanifest.json
cannot be found
Version 1.0.0
Added
- Initial release