I have two packs with Bundles defined in each. When I build for "release" I get the following error:
The following modules share the same URL. This could be a misconfiguration if that URL only has one anonymous module in it
It does not fail when I only include a common-library, but when I include web components then it does fail. Below is the full error with first line in the stack trace. I have looked up this error on the web and they are talking about anonymous modules
If you manually code an HTML script tag, be sure it only includes named modules, and that an anonymous module that will have the same name as one of the modules in that file is not loaded.
Error: Error: Module loading did not complete for: bundle-temp, root, appController, hrt-accomm/common-libraries/index, hrt-osc/common-libraries/index, hrt-accomm/incident-detail/incident-detail-viewModel, hrt-accomm/incident-detail/loader, hrt-accomm/incident-timeoff/incident-timeoff-viewModel, hrt-accomm/incident-timeoff/loader, hrt-osc/simple-nav/loader, hrt-osc/router-nav/loader, hrt-osc/employee-lookup/loader
The following modules share the same URL. This could be a misconfiguration if that URL only has one anonymous module in it:
C:/ClientWork/Azure/ojet-core/web/js/jet-composites/hrt-accomm/1.0.0/min/hrt-accomm-bundle.js: hrt-accomm/common-libraries/index, hrt-accomm/incident-detail/loader, hrt-accomm/incident-timeoff/loader, hrt-accomm/common-libraries/index, hrt-accomm/incident-detail/loader, hrt-accomm/incident-notices/loader, hrt-accomm/incident-timeoff/loader
C:/ClientWork/Azure/ojet-core/web/js/jet-composites/hrt-osc/1.0.0/min/hrt-osc-bundle.js: hrt-osc/common-libraries/index, hrt-osc/simple-nav/loader, hrt-osc/router-nav/loader, hrt-osc/employee-lookup/loader
C:/ClientWork/Azure/ojet-core/web/js/root.js: root, root
C:/ClientWork/Azure/ojet-core/web/js/appController.js: appController, appController
C:/ClientWork/Azure/ojet-core/web/js/jet-composites/hrt-accomm/1.0.0/min/incident-detail/incident-detail-viewModel.js: hrt-accomm/incident-detail/incident-detail-viewModel, hrt-accomm/incident-detail/incident-detail-viewModel
C:/ClientWork/Azure/ojet-core/web/js/jet-composites/hrt-accomm/1.0.0/min/incident-timeoff/incident-timeoff-viewModel.js: hrt-accomm/incident-timeoff/incident-timeoff-viewModel, hrt-accomm/incident-timeoff/incident-timeoff-viewModel
at Function.build.checkForErrors (C:\ClientWork\Azure\ojet-core\node_modules\requirejs\bin\r.js:29878:19)
at C:\ClientWork\Azure\ojet-core\node_modules\requirejs\bin\r.js:28332:19