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 bundle size of Conviva connector #15

Merged
merged 6 commits into from
Apr 5, 2024
Merged

Conversation

MattiasBuelens
Copy link
Contributor

Version 2.0.1 of the Conviva connector weighs in at 3.71 MB, because it accidentally bundles both the THEOplayer library and the Yospace connector.

Fix it by marking these as external dependencies in the Rollup configuration. Also, make sure they use the correct global variables when loaded as a <script> tag.

Copy link

changeset-bot bot commented Apr 4, 2024

🦋 Changeset detected

Latest commit: ef2fac9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@theoplayer/conviva-connector-web Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@MattiasBuelens MattiasBuelens merged commit 34e43ab into main Apr 5, 2024
@MattiasBuelens MattiasBuelens deleted the fix-conviva-bundle-size branch April 5, 2024 11:46
@MattiasBuelens MattiasBuelens added 🔌 connector: conviva Affects the Conviva connector bug Something isn't working labels Apr 9, 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 🔌 connector: conviva Affects the Conviva connector
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants