fix: Remove usage of vm2 (#26863)

* fix performance stuff -- run ci

* Update cypress.config.ts

* remove dep, add tests

* clean up

* m does not exist

* vm2 is everywhere

---------

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
This commit is contained in:
Matt Henkes
2023-05-25 13:55:33 -05:00
committed by GitHub
parent bd5a4d02ee
commit c4ad4253ef
9 changed files with 27 additions and 80 deletions

View File

@@ -63,7 +63,6 @@ const getDependencyPathsToKeep = async (buildAppDir) => {
'openbsd',
'sunos',
'win32'].map((platform) => path.join(unixBuildAppDir, `node_modules/default-gateway/${platform}.js`)),
path.join(unixBuildAppDir, 'node_modules/vm2/lib/bridge.js'),
])
let esbuildResult
let newEntryPointsFound = true