Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cypress): compatibility with esm bundlers
Webpack does support `require.resolve` but other bundlers like esbuild does not. We improve the compatibility by using `require.resolve` only if it is available.
- Loading branch information