The packager's dependency resolver doesn't respect conditional requires, and now, due to 793c356, these errors fail loudly.
As an example of this problem, in libs that use FBJS's promise polyfill, there is a deep dep on asap, which has this line: https://github.com/kriskowal/asap/blob/master/raw.js#L81
The packager fails hard on this (even though the require is conditional and not applicable here), with an error that looks like this:

The packager's dependency resolver doesn't respect conditional requires, and now, due to 793c356, these errors fail loudly.
As an example of this problem, in libs that use FBJS's promise polyfill, there is a deep dep on
asap, which has this line: https://github.com/kriskowal/asap/blob/master/raw.js#L81The packager fails hard on this (even though the require is conditional and not applicable here), with an error that looks like this: