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

[Improvement]: wtf-image-plugin does not work correctly via CDN / ESM.sh #580

Open
MarketingPip opened this issue Nov 29, 2024 · 1 comment

Comments

@MarketingPip
Copy link
Contributor

The only way to properly use this via esm.sh currently is using the full build link like

https://esm.sh/gh/spencermountain/wtf_wikipedia@debf502da0/plugins/image/builds/wtf-plugin-image.mjs

All other plugins (as I have came across currently can be used like)

import person from "https://esm.sh/wtf-plugin-person"
wtf.extend(summary)

Issue is due to makeUrl not being properly resolved in the build when used via ESM.sh.

@spencermountain
Copy link
Owner

hey Jared, thanks - I've bumped the plugin to [email protected]. It may take a while for esm.sh to update, can you let me know if that did the trick?
thanks!

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