We have 4 modules
framework - there is a separate build file which creates framework package
console - depends on framework module - there is a separate build file which creates console package which actually steals framework package instead of stealing individual files and also adds that to steal.config.shim.package ignore list so that it is not included in production.js
defaultconsole - depends on console and steals console package
customerconsole - depends on console and steals console package
The reason for stealing packages and adding them to steal.config.shim.package ignore list is we want to deliver base modules independently without having our customers/partners rebuild whenever base modules (framework and console) change.
Issue
steal build is throwing java.lang.StackOverflowError exception but works perfectly when I load from browser.