node modules\ @ionic-native\network\index.js depends on ‘rxjs/add/observable/merge’. CommonJS or AMD dependencies can cause optimization bailouts.
How to overcome this issue?
I am getting this issue on upgrade to Angular 10. Any suggestions?
Placing like this in angular.json clears warning message but How to resolve the actual issue.
“build”: {
“builder”: “@angular-devkit/build-angular:browser”,
“options”: {
“allowedCommonJsDependencies”: [
“rxjs/add/observable/merge”
]