I am in the process of transitioning my ES6 AngularJS application to utilize webpack for managing all its vendor JS libraries and custom business logic. Within my codebase, I currently have the following snippet:
angular.module('company.web.productA', [..., 'company.web.core'])
Here, company.web.core
represents another angular module that is bundled using webpack. While my application is not throwing any errors, it is also failing to load properly, resulting in a blank screen. It seems like the root cause might be that the company.web.core
module is not being loaded, leading to issues with bootstrapping the application.
Do I need to include some kind of import
statement to bring in my custom modules? Up to this point, I have mainly used import
for importing third-party npm packages and individual component files. Can someone guide me on how to import an entire module?
I may be approaching this problem from the wrong angle, so any suggestions or insights would be greatly appreciated.