public function getAssetUrl($assetName)
    {
        $assetName = ltrim($assetName, '\\');
        
        if (!isset($this->assetBundles[$assetName])) {
            throw new Exception("The AssetBundle '$assetName' is not registered.");
        }
        
        return $this->assetBundles[$assetName]->baseUrl;
    }