yandex / reselector

Use React Components in css selectors
https://npm.im/reselector
Other
45 stars 10 forks source link

require is unavailable in ESM #69

Open myshov opened 5 years ago

myshov commented 5 years ago

Hi! I try to use reselector with esm. But at this moment reselector works only with commonjs environment. So require is unavailable inside esm modules. I think that logic for resolving full names of the file should be incapsulated inside of the reselector itself. What do you think?