Source code for: https://javascripttuts.com/using-a-custom-webpack-configuration-in-an-ionic-4-application/