I have my site.css
in my web/css/
which i declared here
namespace frontendassets;
use yiiwebAssetBundle;
class AppAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [
'css/site.min.css'
];
}
How do i get AssetBundle
to copy it into the assets folder to make it look like this
<link href="/frontend/web/assets/2edj2hj2jk/css/site.css" rel="stylesheet">
instead of this?
<link href="/frontend/web/css/site.css" rel="stylesheet">
or is there another way to achieve this? Basically I want everything in web/css
, web/images
and web/js
to be saved in the assets folder