ionic-environment-variables
ionic-environment-variables copied to clipboard
Easy to use environment variables for Ionic3!
package.json ``` "scripts": { "clean": "ionic-app-scripts clean", "build": "ionic-app-scripts build", "lint": "ionic-app-scripts lint", "ionic:build": "ionic-app-scripts build", "ionic:serve": "ionic-app-scripts serve", "debug:ios": "SENTRY_SKIP_AUTO_RELEASE=true ionic cordova prepare", "build:ios": "SENTRY_SKIP_AUTO_RELEASE=true ionic cordova build ios",...
I hope somebody is out there that can still help with this. Out of the blue I'm not able to build an Ionic 3 app for browser. Can build fine...
First time implemented this approach it worked, now it seems like the env file with old properties is cached and no matter what i change is not updating the files....
there is no example in how or where to put the enviroment variable irself, i must put inside the env object or outside? it must have export const if is...
On `ionic build --dev`, I get this error message: ``` There was an error in config file "/home/kper/Work/Toni/toni-webviews-ionic/config/webpack.config.js". Using defaults instead. TypeError: Cannot read property 'resolve' of undefined at Object....
Hello, I'm facing a probleme when I run this command: `ionic cordova run android --prod --livereload` It always use the development env and never use prod. It works correctly with...
The approach in this repo works fine when building an app from my local machine, when I have an `src/environments/environment.ts` file. In a CI environment though (Circle CI for example),...
Cannot find module '@app/env' error is preventing the build
The import only works after a recompile, ever first compilation gives an import error, but if I retry with any change on file (new line, on this example) it works...
Ionic fails to build ios application stating that it can not locate the @app/env module. Reluctant to create what is almost a duplicate ticket, I have yet to be able...