I have Asset file which is located in
vendor/vova07/yii2-imperavi-widget/src/Asset.php
and i want to override it, because i want to use changed redactor.min.js
file which is located in web/js/redactor.min.js
I tried to put this code to components in web.php :`
'assetManager' => [
'bundles' => [
'vova07\imperavi' => [
'sourcePath' => 'vova07\imperavi\assets',
'js' => ['redactor.min.js', '@app/web/js/redactor.min.js']
]
]
],
but it does not work