We have been facing an issue with the global JavaScript in modules. When these modules are embedded in the app, the global JS defined in modules, does not appear to function correctly. I've found couple of topics discussing this issue and would like to understand the timeline for resolving this issue. [Link1, Link2]
How would you suggest we approach the development and testing of these modules? Currently, changes in modules are not reflected in the app until they are released (Link).
So, we have to test these modules separately. One solution is to maintain global JS at both the module and app levels. However, this would require updating it in both places every time the global JS in any of the modules is modified. What are your thoughts on the best practices for handling this situation?