Angular 8 ng-build throwing MIME error with cordova

I had the same issue. Created a new project. Built a production version “build-production”: “ng build –configuration=production –extract-css=false –prod –aot” Deployed to NGINX White page with no content between tags in Chrome Element inspector Fix Update tsconfig.json “target”: “es5”, Then rebuild the application and deploy again. This solution worked for me, I now have content … Read more

WARNING in budgets, maximum exceeded for initial

Open angular.json file and find budgets keyword. It should look like: “budgets”: [ { “type”: “initial”, “maximumWarning”: “2mb”, “maximumError”: “5mb” } ] As you’ve probably guessed you can increase the maximumWarning value to prevent this warning, i.e.: “budgets”: [ { “type”: “initial”, “maximumWarning”: “4mb”, <=== “maximumError”: “5mb” } ] What does budgets mean? A performance … Read more