The indexHtmlFile configuration option is now invalid when set from the root of the config object in Cypress version 10.0.0.
It is now configured separately as a testing type property: component.indexHtmlFile
{
component: {
indexHtmlFile: '...',
}
}
https://on.cypress.io/migration-guide