Hi Aaron, thanks for the quick reply:-) I already read about this. If I understood it correctly I should take care the the 3rd party/vendor *.js files are loaded before the main.js. This is true.
Is there a newer version? Your file should look something like
<!-- Ionic's root component and where the app will load -->
<ion-app></ion-app>
<!-- The polyfills js is generated during the build process -->
<script src="build/polyfills.js"></script>
<!-- all code from node_modules directory is here -->
<script src="build/vendor.js"></script> // <-- I didn't see this in your link
<!-- The bundle js is generated during the build process -->
<script src="build/main.js"></script>
No, this is exactly what I get when running ionic start project-name and then selecting the aws starter
<!-- Ionic's root component and where the app will load -->
<ion-app></ion-app>
<!-- The polyfills js is generated during the build process -->
<script src="build/polyfills.js"></script>
<!-- The bundle js is generated during the build process -->
<script src="build/main.js"></script>
Then it’s not compatible with app-scripts 2. Add the missing lines, and webpack will probably build your project. Or you can revert to an earlier version of app-scripts.