Closed fehmi closed 8 months ago
We are ready to provide our Global CDN which will fiz that issue, Let's Implement it to your project?
Thanks for the issue. Maintenance of this project is currently on hold due to my personal matters.
Also, the issue is likely related to the CDN itself, not the api-viewer-element
npm package.
What is the CDN URL you can provide? Thanks.
The issue of unpkg.com
is tracked here: https://github.com/mjackson/unpkg/issues/303
Tested a few CDN providers and https://jspm.dev currently works fine import 'https://jspm.dev/api-viewer-element';
.
I'll look into it to see if it works.
Unpkg:
Skypack:
jspm.dev
jsdelivr The only one than can work is https://cdn.jsdelivr.net/npm/api-viewer-element@1.0.0-pre.7/+esm. The downside of it there is no syntax highlighting in source panel.
I think I can live without it but is there any chance do you know any other way to use the tool via CDN without those errors and downsides.I tried to build a one IIFE version of the tool to host by myself the JS but no luck for now. Do you know how to do it?