Lazy load open cv (#6236)

Co-authored-by: EthanHealy01 <[email protected]>
This commit is contained in:
Reece Browne
2026-04-28 17:36:34 +01:00
committed by GitHub
co-authored by EthanHealy01
parent 4e4918b91e
commit a26b15b1fe
3 changed files with 141 additions and 69 deletions
-3
View File
@@ -19,8 +19,5 @@
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="src/index.tsx"></script>
<!-- jscanify and OpenCV for mobile scanner - loaded after React for non-blocking page load -->
<script src="/vendor/jscanify/opencv.js" async></script>
<script src="/vendor/jscanify/jscanify.js" async></script>
</body>
</html>