Hi Daniel,
I wrote to the author of Autoptimize, and here is the solution:
try adding hypeanimations to the exclusion list AND also untick the “minify excluded JS/ CSS” option (near the bottom of the main settings-page).
hope this helps,
frank
and you may check the reply at Problem with excluding Js in wp-content | WordPress.org
After test, I found it works.