Version 2.1.2 in Angular 7 in GSAP Posted May 7, 2019 Its the production optimizer causing the issues. https://stackoverflow.com/questions/51123831/ng-build-prod-cannot-set-property-autoactivated-of-undefined Two ways to fix this: In your angular.json file add the uncompressed versions of the files needed. Let the compiler compress the files. "scripts": [ "node_modules/gsap/src/uncompressed/TimelineLite.js", "node_modules/gsap/src/uncompressed/plugins/CSSPlugin.js", "node_modules/gsap/src/uncompressed/plugins/AttrPlugin.js" ], Second, but not recommended, is to set "buildOptimizer" to false. 2
Version 2.1.2 in Angular 7
in GSAP
Posted
Its the production optimizer causing the issues.
https://stackoverflow.com/questions/51123831/ng-build-prod-cannot-set-property-autoactivated-of-undefined
Two ways to fix this:
In your angular.json file add the uncompressed versions of the files needed. Let the compiler compress the files.
Second, but not recommended, is to set "buildOptimizer" to false.