'Module Federation angular upgrade from 1.0x to 12.5.3

after upgrading to

"@angular-architects/module-federation": "12.5.3",

"@angular-devkit/build-angular": "12.0.0",

when I did ng build Im facing this issue.

An unhandled exception occurred: The 'buildOptimizer' option cannot be used without 'aot'. See "/tmp/ng-nQ8nO8/angular-errors.log" for further details.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source