My question is similar to this. It seems we need to upload the Javascript library as a static resource before we can use it in LWC.
I've got a payment gateway JS library which I need to use via CDN without uploading as a static resource, which I believe they would update without notice.
How do you use JS libraries, etc. in LWC without uploading as a static resource?
Any workaround to avoid keeping copies and referring CDNs? I did create a CSP Trusted Site for the CDN, but since <script>
cannot be used on LWC, not sure where to look for.