The generated webpack config does not include sub modules in the resolve list, that's the issue. Hard coded the webpack config is evil because then we have to resolve all paths to absolute. Maybe my submodules should copy the final JS files into the main project's class output or other location webpack is looking