The answers here may be out of date. In my case, all I had to do is specify jsdelivr and unpkg for script sources in settings: VS Code docs.