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

[cy.origin] Optimize cy.origin callback dependencies loader #24976

Closed
mschile opened this issue Dec 5, 2022 · 1 comment · Fixed by #25626
Closed

[cy.origin] Optimize cy.origin callback dependencies loader #24976

mschile opened this issue Dec 5, 2022 · 1 comment · Fixed by #25626
Assignees

Comments

@mschile
Copy link
Contributor

mschile commented Dec 5, 2022

What would you like?

We are currently using a webpack loader to scan files and look for any usage of require() or import() within the cy.origin callback. The loader excludes node_modules preventing a 3rd party plugin from using dependencies within the cy.origin callback. We need to develop a solution that allows dependencies within 3rd party plugins while still being performant.

Why is this needed?

We need an optimized dependencies solution to ensure we are not negatively impacting performance and memory usage.

Other

No response

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Feb 15, 2023

Released in 12.6.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v12.6.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Feb 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants