angular-architects / module-federation-plugin

MIT License
735 stars 203 forks source link

Development configuration build fails #664

Open sportypriyank opened 1 month ago

sportypriyank commented 1 month ago

With what library do you have an issue?

native-federation

Reproduction of the bug/regression with instructions

In your Stackblitz template try to build any project with development configuration eg. "ng build host --configuration development" It will fail with the following error: An unhandled exception occurred: Cannot read properties of undefined (reading 'split')

Expected behavior

The development configuration build should run successfully and when hosted, the browser should be able to map the source code.

Versions of Native/Module Federation, Angular, Node, Browser, and operating system

Angular: 18.2.0 Native/Module Federation: 18.2.2

Other information

No response

I would be willing to submit a PR to fix this issue

sportypriyank commented 1 month ago

Hi, @rainerhahnekamp Is there any workaround as I cannot debug my code runtime? Rest everything works fine for me.