cancel
Showing results for 
Search instead for 
Did you mean: 

How to load CSS with rel="preload" attribute?

How to load CSS with rel="preload" attribute?

Hello, i have imported my css file like this in layout: 

<css src="Mymodule_CustomModule::css/slick.css" />

 but i want it to add rel="preload" attribute too, is it possible in magento 2? i searched everywhere but didn't found any solution :/