process.env.IONIC_ENV is returning dev
问题 process.env.IONIC_ENV is returning dev always. Here is the script I've used. ionic serve --prod But process.env.IONIC_ENV is returning dev instead of prod . Any thoughts? Thanks. 来源: https://stackoverflow.com/questions/48082565/process-env-ionic-env-is-returning-dev