protected function prepareAttributes(RequireTagInterface $tag, $assetName)
    {
        $path = $this->getAssetPath($assetName, $tag->getType());
        $attributes = $tag->getAttributes();
        $attributes[$tag->getLinkAttribute()] = $path;

        return $attributes;
    }