Skip to content

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

@mschile

Description

@mschile

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions