I’m using ionic v2 and setting plugins using
ionic state reset (plugins are in
package.json). I’m using the
cordova-plugin-fabric which has some required variables. I don’t want these hard coded in my
config.xml – I want them to be set from environment variables at build time. I’m open to a variety of solutions, but I can’t get
ionic state reset --variable to work. I’m also trying to use webpack to move a
config.xml with string replacment: https://stackoverflow.com/questions/45426046/text-replacement-on-a-copied-file-with-webpack – but this doesn’t seem to work with Ionic’s webpack configuration.
Is there a suggested way to keep hard coded variables out of