Merge pull request #2967 from NoelDeMartin/MOBILE-3833

MOBILE-3833: Fix JIT for site plugins
main
Dani Palou 2021-10-04 14:31:10 +02:00 committed by GitHub
commit bd989f77d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 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",

View File

@ -25,6 +25,7 @@ module.exports = config => {
compress: {
toplevel: true,
pure_getters: true,
side_effects: false,
},
keep_classnames: true,
keep_fnames: true,