Some javascript files are not excluded from minification
-
Hi there,
I tried to get WP-Optimize to exclude some javascript files from the Learnpress plugin. So far, I had no success. The files are used to display the quizzes in learnpress courses. The only way to solve the problem is to switch off the javascript minification, which I wouldn’t like to do for a longer period. But until I have a solution, I switch off javascript minification in WP-Optimize.
Here is the list of files I need to exclude:
/wp-content/plugins/learnpress/assets/js/dist/frontend/lp-configs.min.js
/wp-content/plugins/learnpress/assets/js/dist/frontend/modal.min.js
/wp-content/plugins/learnpress/assets/js/dist/frontend/question-types.min.js
/wp-content/plugins/learnpress/assets/js/dist/frontend/quiz.min.js
/wp-content/plugins/learnpress/assets/js/dist/frontend/single-curriculum.min.js
/wp-content/plugins/learnpress/assets/js/dist/js/data-controls.min.js
/wp-content/plugins/learnpress/assets/js/dist/utils.min.js
/wp-content/plugins/learnpress/assets/js/dist/loadAJAX.min.js
/wp-includes/js/utils.min.js
/wp-includes/js/dist/vendor/lodash.min.jsWhen I had javascript minification enabled, I also checked the Advanced tab for information. However, there wasn’t anything that helped me solve the issue. I also tried to defer all javascript or excluded more files mentioned on the Advanced tab. But nothing helped.
Any idea what I could do?
Thanks
- The topic ‘Some javascript files are not excluded from minification’ is closed to new replies.