I've had a need for this a few times recently. A new panel should be introduced which lists the current page's enqueued scripts and styles and related dependencies.
Debug Bar has an add-on which does this. Output would probably be similar. There aren't any actions or filters in place which will allow us to determine which component has enqueued which asset.
I've had a need for this a few times recently. A new panel should be introduced which lists the current page's enqueued scripts and styles and related dependencies.
Debug Bar has an add-on which does this. Output would probably be similar. There aren't any actions or filters in place which will allow us to determine which component has enqueued which asset.