Разобрался
Бандл, который подрубается на каждой странице (Yii, Jqeury и т.д.) нужно указать без зависимостей
'targets' => [
'app\\assets\\CompressCalcAsset' => [
'class' => 'yii\web\AssetBundle',
'basePath' => '@webroot',
'baseUrl' => '@web',
'js' => 'js/calc-{hash}.js',
'css' => 'css/calc-{hash}.css',
'depends' => [
'app\assets\CalcAsset',
],
],
'app\\assets\\ContactAsset' => [
'class' => 'yii\web\AssetBundle',
'basePath' => '@webroot',
'baseUrl' => '@web',
'js' => 'js/contact-{hash}.js',
'css' => 'css/contact-{hash}.css',
'depends' => [
'yii\widgets\ActiveFormAsset',
'yii\validators\ValidationAsset',
],
],
'app\\assets\\MainAsset' => [ //критический бандл
'class' => 'yii\web\AssetBundle',
'basePath' => '@webroot',
'baseUrl' => '@web',
'js' => 'js/main-{hash}.js',
'css' => 'css/main-{hash}.css',
'depends' => [],
],
],