Open dcentrica opened 1 day ago
Hey,
Good point. I have added additional conditions on those internal packages that weren't bothering me but you might need to block those custom internal assets manually in your project (in case of any glitches or conflicts) which are not covered by this package.
https://github.com/goldfinch/enchantment/releases/tag/v1.0.21
silverstripe/framework
5.2.22goldfinch/enchantment
1.0.20silverstripe/admin
2.2.13In a minimal Silverstripe project (see versions above) which does not use following packages, you'll see several errors emitted from
EnchantmentAssetsExtension
. Other projects will/won't use an entirely different set of packages:silverstripe-versioned-admin
silverstripe/cms
silverstripe/session-manager
This happens because there are no guards wrapped around every call to
Requirements::block()
.Solutions:
1). Wrap all such code-blocks with: