I am using GSAP
I encountered this error when running
ionic build --prod
Cannot set property ‘_autoActivated’ of undefined
I found, through this link, that Angular 6 and GSAP are not playing nice and that setting the following change to the angular.json file makes it work:
So, great that it works but it is at a sacrifice in both total filesize (up 1mb) and more intial parsing:
I would like to get past using not using buildOptimizer.
Any thoughts or previous experience with GSAP in Ionic 4 --prod and particularly this Cannot set property ‘_autoActivated’ error.