fix: use native require cache of loaded entries only #1770
Annotations
2 errors
Run pnpm vitest run --coverage:
test/fixtures.test.ts#L65
Error: Snapshot `fixtures > require-esm > require-esm-stderr 1` mismatched
- Expected
+ Received
- "(node) ExperimentalWarning: CommonJS module <cwd>/index.cjs is loading ES Module <cwd>/_dist/esm.js using require().
- Support for loading ES Module in require() is an experimental feature and might change at any time
- (Use `node --trace-warnings ...` to show where the warning was created)"
+ ""
❯ test/fixtures.test.ts:65:37
|
Run pnpm vitest run --coverage
Process completed with exit code 1.
|
Loading