isomorphic-resolve Isomorphic require.resolve for ESM and CommonJS Installation npm npm install isomorphic-resolve Yarn yarn add isomorphic-resolve Usage import resolve from "isomorphic-resolve" resolve("...")