This can be used to disable the GSAP scripts in Breakdance when something like Motion.page needs to be used instead.
Motion.page and Breakdance both load the same scripts with different versions and this causes Motion.page's scrollTrigger
feature to fail. I found this when using a Breakdance popup with animations on entry and exit.
This snippet comes with no support or guarantee so use at your own risk. If you do use it, feel free to comment below with any findings for others to consider.
This is site wide and without some conditional loading, will result in GSAP not loading at all on pages where Motion.page isn't running an animation timeline. For this reason, it should be used conditionally on pages where Motion.page is running.
Note that checking whether Motion.page's scripts have been enqueued inside the callback always returns FALSE due to the timing of the filter offered by Breakdance.