Closed kien-ht closed 9 months ago
This pull request fixes #192
CommonJS doesn't support importing ESM modules with require statements, and because our plugin is shipped as CommonJs, we fail to resolve the user config file cypress-image-diff.config.js in those projects that are ESM modules.
require
cypress-image-diff.config.js
:tada: This PR is included in version 2.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This pull request fixes #192
CommonJS doesn't support importing ESM modules with
require
statements, and because our plugin is shipped as CommonJs, we fail to resolve the user config filecypress-image-diff.config.js
in those projects that are ESM modules.