https://github.com/cypress-io/cypress-browserify-preprocessor#modifying-default-options
plugins/index.js文件如下
const browserify = require('@cypress/browserify-preprocessor')
module.exports = (on) => {
on('file:preprocessor', browserify())
}
配置到到cypress.json中