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

Fix importing the library via script tag adds each named export of ably to the global namespace on v2 branch #1607

Closed
VeskeR opened this issue Feb 1, 2024 · 2 comments · Fixed by #1558
Assignees
Labels
bug Something isn't working. It's clear that this does need to be fixed.

Comments

@VeskeR
Copy link
Contributor

VeskeR commented Feb 1, 2024

When using UMD wrapper without commonjs/amd (importing library via the script tag, for example, via CDN), the esbuild-plugin-umd-wrapper plugin would add each named export of ably to the global namespace rather than adding it in an object called Ably (as it did in v1).

@VeskeR VeskeR added the bug Something isn't working. It's clear that this does need to be fixed. label Feb 1, 2024
@VeskeR VeskeR linked a pull request Feb 1, 2024 that will close this issue
Copy link

sync-by-unito bot commented Feb 1, 2024

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-4073

@VeskeR
Copy link
Contributor Author

VeskeR commented Feb 2, 2024

Fixed in #1558

@VeskeR VeskeR closed this as completed Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. It's clear that this does need to be fixed.
Development

Successfully merging a pull request may close this issue.

1 participant