In isomorphic react app I have myModule which should behave differently on node and browser environments. I would like configure this split point i
myModule
To have a different entry point for client and server in a Node Module, you can use process.browser flag and handle the same
process.browser
if (process.browser) { // load client entry point } else { // load server entry point }