You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I could just make a suggestion for your consideration;
The native Yii2 AssetBundle design takes care of dependency where an asset must be loaded before another. I've also found that by overriding the AssetBundle init() method, other types of magic is possible.
Secondly, the assets available in Bower should not need to be copied from vendor/bower to another location to work. Perhaps a more elegant configuration design will be for the configuration to match
a local asset in vendor/bower with the cdn based equivalent such that when the CDN is not available or when it is turned off with YII2CDN_OFFLINE, the regular assets are published by Yii, otherwise, the cdn equivalent is published.
Do you think this is an idea worth implementing?
The text was updated successfully, but these errors were encountered:
If I could just make a suggestion for your consideration;
The native Yii2 AssetBundle design takes care of dependency where an asset must be loaded before another. I've also found that by overriding the AssetBundle init() method, other types of magic is possible.
Secondly, the assets available in Bower should not need to be copied from vendor/bower to another location to work. Perhaps a more elegant configuration design will be for the configuration to match
a local asset in vendor/bower with the cdn based equivalent such that when the CDN is not available or when it is turned off with YII2CDN_OFFLINE, the regular assets are published by Yii, otherwise, the cdn equivalent is published.
Do you think this is an idea worth implementing?
The text was updated successfully, but these errors were encountered: