The pluginsFile configuration option you have supplied has been replaced with setupNodeEvents.
This new option is not a one-to-one correlation and it must be configured separately as a testing type property: e2e.setupNodeEvents and component.setupNodeEvents
{
e2e: {
setupNodeEvents()
},
component: {
setupNodeEvents()
},
}
https://on.cypress.io/migration-guide