Minify Yii Assets getting 404 error

I minified yii assets and put them into one single file in /frontend/web/js/all.min.js

i added this to my main.php

 'assetManager' => [
            'forceCopy' => (YII_ENV == 'dev') ? true : false,
            'appendTimestamp' => (YII_ENV == 'dev') ? false : true,
            'bundles' => [
                'yii\web\YiiAsset' => [
                    'js' => ['all.min.js'],
                    'jsOptions' => ['defer' => true],
                ],
                'yii\widgets\ActiveFormAsset' => false,
                'yii\validators\ValidationAsset' => false,

But when i refresh my page I’m getting a 404 error, it can’t find the all.min.js in my web/js/ folder

https://blabla.com/frontend/web/assets/1abdb937/all.min.js

Can help me out please. thank you.

Got it, had to add sourcePath

'yii\web\YiiAsset' => [
                    'sourcePath' => '@app/web/js',
                    'js' => ['all.min.js'],
                    'jsOptions' => ['defer' => true],
                ],