Ionic 2 RC0 Ionic App Scripts help?

I read about Ionic App Scripts here https://github.com/driftyco/ionic-app-scripts and okay, I’ll get with the program and dump Gulp. Unfortunately, the App Scripts documentation left me confused. This blog post http://blog.ionic.io/handling-cors-issues-in-ionic/ has a nice section “Automating URL switches with Gulp” that I followed. Can you show me how to automate URL switches without Gulp? It looks like maybe I can set up a custom command line flag like “ionic serve --proxy” but I could not figure it out. Thanks.

Later … no replies … I wound up doing it with a bash script to do a couple of file copies, one to change ionic.config.json, and one to change a file that just has a boolean USE_PROXY that I import as a provider where needed.

1 Like