Closed dsozzi closed 3 years ago
Hello, I see ngx-build-plus
mentioned, but in the example there is also @angular-builders/custom-webpack
: https://github.com/module-federation/module-federation-examples/blob/master/angular11-microfrontends/package.json#L32 and in the end in angular.json
there is only ngx-build-plus
used.
You can try this example: https://github.com/ydmitry/angular11-webpack-module-federation-custom-webpack-builder (maybe I should to contribute this as existing example works with ngx-build-plus
)
omg, I have no idea how but there was a character in the webpack.config.js that was breaking the build. My mistake. Still the package.json example has the wrong command
thanks!
Hi,
trying to build the angular applications but the shell application is not working. I noticed that the npm command is not correct and I've already opened a Pull request to fix that
from
"build:shell": "ng build shell --prod"
, to "build:shell": "ng build mdmf-shell --prod",
but even with this change the shell doesn't compile with the following error:
An unhandled exception occurred: Unexpected identifier
and this message in the logged file