I cannot see this as an option in the aoptimize dashboard These are the options shown:
JavaScript Options
Optimize JavaScript Code?
Aggregate JS-files?
Aggregate all linked JS-files to have them loaded non-render blocking? If this option is off, the individual JS-files will remain in place but will be minified.
Also aggregate inline JS?
Let Autoptimize also extract JS from the HTML. Warning: this can make Autoptimize’s cache size grow quickly, so only enable this if you know what you’re doing.
Force JavaScript in <head>?
Load JavaScript early, this can potentially fix some JS-errors, but makes the JS render blocking.
Exclude scripts from Autoptimize:
wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js
A comma-separated list of scripts you want to exclude from being optimized, for example ‘whatever.js, another.js’ (without the quotes) to exclude those scripts from being aggregated by Autoptimize. Important: excluded non-minified files are still minified by Autoptimize unless that option under “misc” is disabled.
Add try-catch wrapping?
If your scripts break because of a JS-error, you might want to try this.