Open alex89raso opened 1 year ago
@alex89raso Can you please try on AEM 6.5.14 or the latest service pack?
Hi SachinMali, i try on 6.5.14 and there is the same issue.
Hi SachinMali, i try on 6.5.14 and there is the same issue.
![]()
![]()
![]()
@SachinMali do you have news?
hi, are there any news about this bug?
any news?
Actual Behaviour
Hi, If, in the root pom, you change build.environment to:production</build.environment>
and you build the project with mvn clean install -PautoInstallSinglePackage -Pclassic, you can notice that the resultant software doesn't run well, the components are not loaded.
When the :production is set in pom, the "build:production": "ng lint && ng build --prod && clientlib" is fired in Angular,
the "--prod" option use the AOT compilation and the build optimizer (as configured in angular.json).
The AOT compilation and the build optimizer generate the problem described, If in angular.Json file you disable AOT and build optimizer the software run well and the components are loaded
is there a solution to this?
Steps to Reproduce
Platform and Version
AEM: 6.4.8 aem-guides-wknd-spa TAG:1.0.1-Angular
Logs taken while reproducing problem
there aren't error in log