This repository has been archived by the owner on Jul 25, 2023. It is now read-only.
1.2.0: Support custom link templates
You can now edit the template used by the block to render links:
<referenceBlock name="head.csspreload">
<arguments>
<argument name="link_template" xsi:type="string"><![CDATA[<link rel="preload" as="style" href=":path:" onload="this.rel='stylesheet'" :attributes: />]]></argument>
</arguments>
</referenceBlock>