• Resolved alekv

    (@alekv)


    Hi

    If I want to exclude one enqueued JS from optimization (aggregation, minification, etc). Which filters do I need to use?

    Thanks
    Aleksandar

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    you can use autoptimize_filter_js_dontmove to add an exclusion to the exclusion array (based on the exclusion field in the settings) and autoptimize_filter_js_consider_minified to add the file in the array as “already minified”, that should do it ??

    have fun ??
    frank

    Thread Starter alekv

    (@alekv)

    Great. Thanks Frank !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to exclude one specific enqueued script?’ is closed to new replies.