-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Is your feature request related to a problem? Please describe.
I cannot run Stagehand within Convex functions as the bundle size is too large.
Total module size exceeded the zipped maximum (51.55 MiB > maximum size 42.92 MiB)
This occurs when I bundle @browserbasehq/stagehand and playwright-core.
Describe the solution you'd like
A reduced bundle size or a 'lite' package.
Another solution for specifically my problem, for which the bundle size is a downstream effect of, is to include more Playwright APIs. Of course this would make the bundle larger, but would it would mean I no longer have to import playwright-core itself. This doesn't seem like the correct solution, especially since you guys have been moving away from playwright IIRC.
Describe alternatives you've considered
There are no alternatives for smaller playwright or stagehand packages, and I need both in a single function.
Are you willing to contribute to implementing this feature or fix?
- Yes, I can submit a PR
- Yes, but I need guidance
- No, I cannot contribute at this time