You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
If, in the root pom, you change build.environment to <build.environment>: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
set build.environment to <build.environment>:production</build.environment> in parent pom
run mvn clean install -PautoInstallSinglePackage -Pclassic.
try the application
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
The text was updated successfully, but these errors were encountered:
Actual Behaviour
Hi,
If, in the root pom, you change build.environment to <build.environment>: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
The text was updated successfully, but these errors were encountered: