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

Reducing the bundle size #207

Open
itsderek23 opened this issue Jan 16, 2023 · 1 comment
Open

Reducing the bundle size #207

itsderek23 opened this issue Jan 16, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@itsderek23
Copy link

We're using DailyIframe.createCallObject() to create a mostly custom UI.

When adding the following:

import DailyIframe from "@daily-co/daily-js";

We're seeing the following impact on our bundle size:

   ├ node_modules/@daily-co/daily-js/dist/daily-iframe-esm.js                                  128.9kb   30.0%

Are there any options to reduce this? We're getting pushback from customers as this would be installed on landing pages where the code would not be cached.

@itsderek23 itsderek23 added the enhancement New feature or request label Jan 16, 2023
@mattieruth
Copy link
Contributor

Thanks for this report! I have filed an issue and we will look into this. In general, we do take our bundle size seriously and try to keep it down.

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

No branches or pull requests

2 participants