Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish to unpkg CDN #284

Closed
cesarqdt opened this issue Sep 21, 2023 · 4 comments
Closed

Publish to unpkg CDN #284

cesarqdt opened this issue Sep 21, 2023 · 4 comments

Comments

@cesarqdt
Copy link

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

@emilhe
Copy link
Owner

emilhe commented Sep 29, 2023

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

@cesarqdt
Copy link
Author

cesarqdt commented Oct 3, 2023

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.

@emilhe
Copy link
Owner

emilhe commented Oct 7, 2023

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

@emilhe emilhe closed this as completed Oct 7, 2023
@cesarqdt
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants