emilhe / dash-extensions

The dash-extensions package is a collection of utility functions, syntax extensions, and Dash components that aim to improve the Dash development experience

Home Page:https://www.dash-extensions.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Publish to unpkg CDN

cesarqdt opened this issue · comments

Hi! Thanks for this project that brings new components to the Dash ecosystem!

I would like to use dash-extensions for a Dash project in production where I prefer to use the unpkg CDN for delivering the JS sources of Dash components. However I noticed that the sources for dash-extensions are inexistent on unpkg.

https://unpkg.com/dash_extensions

Cannot find package dash_extensions@latest

Do you plan to publish your components to NPM to make them available on unpkg?
Thanks

Thanks! I have just published the latests non-rc release (1.0.3) to npm. Could you test if it works as intended? If so, I'll add the step to the CICD pipeline, thus making all new releases available.

EDIT: Please note that it's published with a dash, not an underscore, i.e. https://unpkg.com/dash-extensions@1.0.3/README.md

Thanks @emilhe, I have tested on 1.0.3 and confirm that the packages are in the CDN and the pages are rendering from it. Please add it into the CICD pipeline so new releases would also upload the unpkg.

I have added the required steps to the pipeline from version 1.0.4 :)

Hi @emilhe since last week this stoped working, any idea why the JS are not being loaded?
Here's the screenshot of the network tab (which was 200 response code last week).
Screenshot 2023-10-10 at 11 18 22