Closed jamestalmage closed 8 years ago
The string only option does not fit RxJs.
You can't do:
require('rxjs/Observable');
You need to do:
require('rxjs/Observable').Observable;
I think our default lookup strategy should be something like this:
function load(name) { var loaded = require(name); return loaded.Observable || loaded.default || loaded; }
We already manually handle that for RxJS, but yeah, might be useful for other future libs.
No, we only do that in the detect() function. That won't work if they call register('rxjs')
detect()
register('rxjs')
The string only option does not fit RxJs.
You can't do:
You need to do:
I think our default lookup strategy should be something like this: