Figured it out! The trick was passing --mode
with $NODE_ENV
in my package.json
.
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build --mode $NODE_ENV",
Hopefully this helps others when deploying Ionic Vue to different environments.