Closed elliottsj closed 8 years ago
@elliottsj Any updates on this? It seems pretty important to me!
Didn't catch #143, my bad.
As far as I know, webpack does not support serving multiple configurations (i.e. both Android and iOS) in the same process,
Fortunately that's not true! Webpack's multicompiler feature makes this easily possible. Here's how I have solved this for myself: https://github.com/mjohnston/react-native-webpack-server/pull/156#issuecomment-195826035
As described by @philikon in https://github.com/mjohnston/react-native-webpack-server/pull/111#discussion_r43030879:
As far as I know, webpack does not support serving multiple configurations (i.e. both Android and iOS) in the same process, so we'll need to run two webpack instances to have different module resolution rules for each platform.