ebi-webcomponents / protvista-uniprot

The ProtVista tool for the UniProt website
MIT License
12 stars 6 forks source link

CDN not found when running serve #4

Closed tsheils closed 4 years ago

tsheils commented 5 years ago

https://cdn.jsdelivr.net/npm/protvista-uniprot-entry-adapter@latest/dist/ProtVistaUniProtEntryAdapter.js

Steps: clone repo npm i npm run npm-linkall npm run serve

window opens, but the linked js file isn't found.

screen shot 2018-11-16 at 11 21 33 am screen shot 2018-11-16 at 11 21 40 am
tsheils commented 5 years ago

updated: cdn.jsdelivr.net/npm/protvista-uniprot-entry-adapter@latest/dist/ProtVistaUniProtEntryAdapter.js to cdn.jsdelivr.net/npm/uniprot-entry-data-adapter@latest/dist/UniProtEntryDataAdapter.min.js and added cdn.jsdelivr.net/npm/protvista-uniprot-entry-adapter@latest/dist/protvista-uniprot-entry-adapter.min.js Runs locally, but when bundling to prod I get regeneratorRuntime is not defined error in the host app (angular 7)

screen shot 2018-11-17 at 12 00 52 am