Remove jQuery Migrate from enqueueing on the frontend
-
Hi Formidable Forms,
I was trying to dequeue ‘jquery-migrate’ from my site. I dequeue several other script handles to optimize my site’s performance; however, dequeueing wasn’t working for the ‘jquery-migrate’ script handle.
After investigation, I found that the ‘formidable’ script handle includes ‘jquery’ as a dependency. That script handle enqueues ‘jquery-core’ and ‘jquery-migrate’.
Is it possible for Formidable’s frontend dependency to instead just be ‘jquery-core’? I have overridden jQuery Migrate to not be output and my Formidable Form worked fine with just jQuery Core. I realize, though, that deeper testing would be needed for Formidable Forms to release this update.
I just wanted to make sure you’re aware of this nuance.
Thank you!
Michelle Blanchette
- The topic ‘Remove jQuery Migrate from enqueueing on the frontend’ is closed to new replies.