MOBILE-3833 ng: Optimize testing build
parent
e89b9beccc
commit
54a05239a6
14
angular.json
14
angular.json
|
@ -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": {
|
"ci": {
|
||||||
"progress": false
|
"progress": false
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
"serve:test": "NODE_ENV=testing ionic serve --no-open",
|
"serve:test": "NODE_ENV=testing ionic serve --no-open",
|
||||||
"build": "ionic build",
|
"build": "ionic build",
|
||||||
"build:prod": "NODE_ENV=production ionic build --prod",
|
"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:android": "ionic cordova run android --livereload",
|
||||||
"dev:ios": "ionic cordova run ios",
|
"dev:ios": "ionic cordova run ios",
|
||||||
"prod:android": "NODE_ENV=production ionic cordova run android --prod",
|
"prod:android": "NODE_ENV=production ionic cordova run android --prod",
|
||||||
|
|
Loading…
Reference in New Issue