Ionic 4 ionic lab proxy not working

#1

I am upgrading a project from ionic 3 to ionic 4 and I am running into an issue with proxies in ionic lab. I have followed the guides to configure proxies for angular 7 and am able to get the proxied working with ionic serve and ng serve. But when I use ionic serve --lab, the lab environment is still submitting all api calls to localhost. Has anyone experienced this problem, or have any ideas on what could be wrong?

ionic info:

Ionic:

ionic (Ionic CLI) : 4.10.3
Ionic Framework : @ionic/angular 4.0.1
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.2.4
@ionic/angular-toolkit : 1.4.0

angular.json:

“serve”: {
“builder”: “@angular-devkit/build-angular:dev-server”,
“options”: {
“browserTarget”: “app:build”,
“proxyConfig”: “proxy.conf.js”
},
“configurations”: {
“production”: {
“browserTarget”: “app:build:production”
},
“ci”: {
“progress”: false
}
}
}

proxy.conf.js:

const PROXY_CONFIG = [
{
context: [
“/api1”,
“/api2”,
“/api3”,
“/api4”,
“/api5”
],
target: “https://www.myURL.com”,
secure: true,
changeOrigin: true
}
]

module.exports = PROXY_CONFIG;