Jump to content
Search Community

robb

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by robb

  1. 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.

     

    • Like 2
×
×
  • Create New...