What is the proper way to add a js tag attribute in Magento 2?
This is needed for example for Cloudflare Rocket loader to ignore a certain script.
<script data-cfasync="true" type="text/javascript" src="~~">
asked Feb 5, 2018 at 10:12
TheKitMurkit
5051 gold badge9 silver badges18 bronze badges
1 Answer 1
<script data-cfasync="false" src="/javascript.js"></script>
Try this
default