Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(#59): typeerror - default is not a function
We're shipping both `./dist/vitest-fail-on-console.es.js` and `./dist/vitest-fail-on-console.umd.js` with "type": "module". Since Vitest only runs `esm` in the test environment (doesn't use require), we can only ship the default export as `./dist/vitest-fail-on-console.es.js` Thanks to @hi-ogawa - vitest-dev/vitest#6352 (comment)
- Loading branch information