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
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x
Current Behavior
While refactoring an Ionic application for version 7.8.1, using standalone Angular components, an issue surfaced regarding the functionality of Ioinic Components in production builds.
It was observed that these components fail to function as intended during production builds. While a temporary workaround involves setting the "buildOptimization" property to false within the angular.json file, this solution is deemed unsatisfactory.
Thanks for the issue! This issue is being closed due to the lack of a code reproduction. As noted in the issue template, reproduction URLs are required for the team to effectively triage issues. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
While refactoring an Ionic application for version 7.8.1, using standalone Angular components, an issue surfaced regarding the functionality of Ioinic Components in production builds.
It was observed that these components fail to function as intended during production builds. While a temporary workaround involves setting the "buildOptimization" property to false within the angular.json file, this solution is deemed unsatisfactory.
Example modification in angular.json:
Another solution we have found is to create a service to define all the ionic elements, but it does not seem like a suitable solution to us either.
Expected Behavior
The Ionic components ought to render accurately when integrated with standalone Angular components during production builds.
Steps to Reproduce
Complie app with:
$ ionic serve --configuration=production
Code Reproduction URL
.
Ionic Info
Ionic:
Ionic CLI : 7.2.0
Ionic Framework : @ionic/angular 7.8.1
@angular-devkit/build-angular : 16.2.2
@angular-devkit/schematics : 16.2.2
@angular/cli : 16.2.2
@ionic/angular-toolkit : not installed
Cordova:
Cordova CLI : 12.0.0 (cordova-lib@12.0.1)
Cordova Platforms : android 12.0.1, ios 7.0.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 23 other plugins)
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.12.2
ios-sim : 8.0.2
NodeJS : v18.19.
npm : 10.3.0
OS : macOS Unknown
Xcode : Xcode 15.3 Build version 15E204a
Additional Information
No response
The text was updated successfully, but these errors were encountered: