Production build contains await operator (@ionic/core). Brokes down all android < 7.1
See original GitHub issueBug Report
Ionic Info
Ionic:
ionic (Ionic CLI) : 4.0.2
Ionic Framework : @ionic/angular 4.0.0-beta.1
@angular-devkit/core : 0.7.4
@angular-devkit/schematics : 0.6.1
@angular/cli : 6.1.4
@ionic/ng-toolkit : 1.0.6
@ionic/schematics-angular : 1.0.5
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.1.1, ios 4.5.4
System:
NodeJS : v10.9.0 (D:\Program Files\nodejs\node.exe)
npm : 6.2.0
OS : Windows 10
Environment:
ANDROID_HOME : not set
Describe the Bug
@ionic/core/dist/colleciton/utils/framework contains await operator in production build!

Bad part of it - this files added automatically by ionic/cli, not by developer.
Steps to Reproduce Steps to reproduce the behavior:
- Use IonicModule in your angular app
- Add any stencil component (
ion-scrollfor example) - Run on Android < 7.1.1
Related Code none
Expected Behavior All compiled source codes should be transpiled down to es5 (“target”: “es5”` in tsconfig.json). @angular/cli don’t transpile js code.
Additional Context none
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Production build contains await operator (@ionic/core ...
Ionic Info ; Describe the Bug @ionic/core/dist/colleciton/utils/framework contains await operator in production build! damn ; Steps to Reproduce
Read more >await - JavaScript - MDN Web Docs
The await operator is used to wait for a Promise and get its fulfillment value. It can only be used inside an async...
Read more >Release Notes | Firebase - Google
This release includes a fix to the Linux x86 build, and updates to the SDK's Android and iOS dependencies. November 17, 2022. SDK...
Read more >await operator - asynchronously wait for a task to complete
The await operator suspends evaluation of the enclosing async method until the asynchronous operation represented by its operand completes. When ...
Read more >webpack referenceerror: module is not defined in es module scope ...
Note: if you have any advice for creating dev env, i will be thankful ... npm install --save core-js npm install --save regenerator-runtime....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Nice! going to close this issue, and continue tracking the ionic-native/push one in the other repo, thanks for reporting the issue!
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.