Jest Resolver Enhanced
Allows Jest to handle conditional exports.
Uses node
and require
exports.
Under the hood:
- use enhanced-resolve from Webpack by default,
- if enhanced-resolve fails, use vanilla Jest resolver.
Resolver for Jest: use Webpack enhanced-resolver by default, with fallback to Jest resolver
Homepage npm JavaScript Download
npm install jest-resolver-enhanced@1.1.0
Allows Jest to handle conditional exports.
Uses node
and require
exports.
Under the hood: