Finally I got a not-so-perfect solution, just make rxjs an external dependency, and bundle whole lib into vendor usingimport * as rxjs from 'rxjs/Rx'. This really works, but not elegant enough (even feel dirty)…. However, providing vendor was just a temp tool for speeding up our development process, this could be acceptable… Thanks to the author…

If anyone has a more elegant solution, please do tell us, I love rollup & angular.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.