benlesh / symbol-observable

Symbol.observable ponyfill

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some bundlers fail to locate `./lib/index` currently

benlesh opened this issue · comments

This was brought up here: ReactiveX/rxjs#1769 and also evidenced by a PR here ReactiveX/rxjs#1766

The problem seems to be that the index.js file in the root does require('./lib') and that tries to locate ./lib/lib.js with some bundlers. Switching to './lib/index' seems to solve the issue according to this comment: ReactiveX/rxjs#1769 (comment)