How to Deploy a JavaScript Library

To deploy a JavaScript library add it as a Web Resource component.

Go to Solution and Open Web Resources

Click New

Give it the name, choose the type JavaScript and upload the file.