I have ModuleA, which depends on ModuleB. Both are in separate git repositories. ModuleB has a webpack.config.js file, and it works fine when I run webpack in ModuleB's directory. However, when I run webpack from ModuleA's directory, it seems like ModuleB's webpack.config.js isn't getting used.
Is this supposed to work, or are you supposed to pre-bundle ModuleB and point ModuleA at that bundle?
(Specifically, I'm using the webpack.config.js file to exclude a submodule in ModuleB.)