BeTomorrow/micro-observables

"Cannot find module './lib'" ReactDOM Batching

danielrea opened this issue · 1 comments

Hello,

Thanks for creating and maintaining this package! I've come across an issue when trying to implement ReactDOM Batching in version 1.5.0-rc4.

Uncaught Error: Cannot find module './lib'
    at webpackMissingModule (batchingForReactDom.js:2)
    at Object../node_modules/micro-observables/batchingForReactDom.js (batchingForReactDom.js:2)
    at __webpack_require__ (bootstrap:832)
    at fn (bootstrap:129)
    at Module../src/index.tsx (index.tsx:2)
    at __webpack_require__ (bootstrap:832)
    at fn (bootstrap:129)
    at Object.0 (debug-relayer.ts:13)
    at __webpack_require__ (bootstrap:832)
    at bootstrap:970

Sure enough when I look at the installed module there is no such ./lib folder in the directory. Please advise on what I may be missing here.

My bad, I forgot to change it to "dist" when I migrated to tsdx. It is now fixed.
I've just published a new 1.5.0-rc5 version, let me know if you still have issues with that.