MOBILE-3833 ng: Optimize testing build

main
Noel De Martin 2021-10-04 13:22:37 +02:00
parent e89b9beccc
commit 54a05239a6
2 changed files with 15 additions and 1 deletions

View File

@ -66,6 +66,20 @@
}
]
},
"testing": {
"optimization": {
"scripts": false,
"styles": true
},
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
},
"ci": {
"progress": false
}

View File

@ -23,7 +23,7 @@
"serve:test": "NODE_ENV=testing ionic serve --no-open",
"build": "ionic build",
"build:prod": "NODE_ENV=production ionic build --prod",
"build:test": "NODE_ENV=testing ionic build",
"build:test": "NODE_ENV=testing ionic build --configuration=testing",
"dev:android": "ionic cordova run android --livereload",
"dev:ios": "ionic cordova run ios",
"prod:android": "NODE_ENV=production ionic cordova run android --prod",