• Hello,

    When I add some file in “Never minify the following JS files didn’t work” like:

    wp-includes/js/jquery/jquery.js

    wp-content/themes/my-child-theme/js/file.js

    wp-content/themes/my-child-theme/js/file3.js

    etc

    My file are always minify and defer ( I choose defer )
    I really need to exclude this files because I want to defer script but these file create some problems

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,
    Are you using Minify on Auto or Manual mode?

    I have the same issue. I’m using auto mode.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    You should try switching to Manual minify and add JS and CSS files manually and in order.
    This way you can minify or combine JS files using the embed type “Non-blocking using async” or “Non-blocking using defer”

    Thread Starter stephla

    (@stephla)

    Thanks

    I looked at the code and apparently it compares the urls js with the urls given in the form. The problem is that on the other files urls adds / at the beginning.

    But If I add a / in form for example:
    ?/wp-includes/js/jquery/jquery.js instead of wp-includes / js / jquery / jquery.js. The / is not added.

    Do we have to modify something in the parameters so that the / is not added to the comparison?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Never minify the following JS files didn’t work’ is closed to new replies.