Does anyone have a way to load a third party javascript earlier in the chain? As in, https://cdn.example.com/myjs.js ? When I reference it using assetsService.load from my own js-file to load the third party file, which works, but I would like it to load eariler 🙂 Anyone know some magic I've missed? 🙂 (Adding it to Scripts in my PackageManifest results in an error).
j
Jason
05/29/2024, 8:51 AM
Create your own script,
load.js
, reference that in the PackageManifest. Then in that script: