How to add an external library to a C# azure functions application?
Hi there,
I am trying to use a JavaScript based library in my azure functions application. I copied the file in the root directory of the app and deployed it successfully on Azure but the moment I reference it in the Index.html file, it throws this error.
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.
This is the javascript library (urdf-loaders) I am trying to use in the Index.html file. Please find the code snippet below for your reference.