Set a parent script presence status true so that child scripts load in wordpress

I didn't know how to write a good title for my problem.

I'm trying to integrate some scripts in js file and dequeue them to decrease browser requests. So let's say we have some child scripts which for some reasons I don't want to integrate them and they have dependencies on a parent script that I've dequeued it and integrated into another script file. Now I know I've loaded the parent script (inside the integrated script) and I want to broadcast its presence so that all depended child scripts load. How can I do that?

wp_script_is determines if a script has been enqueued. I want to make its output true as well for some handlers (parent scripts I mentioned).

Topic wp-dependencies wp-enqueue-script Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.