Enqueued_Scripts_Size_Check includes script dependencies #74
Labels
Checks
Audit/test of the particular part of the plugin
[Team] Performance
Issues owned by Performance Team
[Type] Enhancement
A suggestion for improvement of an existing feature
The
Enqueued_Scripts_Size_Check
only accounts for scripts registered by the plugin that include the plugins URL in the script. There may be cases where a script requires a dependency that is sources outside of plugin directory, such as jQuery.The
Enqueued_Scripts_Size_Check
should be updated to account for those external dependencies as part of the total script size for a page load.Acceptance Criteria
Enqueued_Scripts_Size_Check
class to account for external dependencies.WP_Scripts
class.The text was updated successfully, but these errors were encountered: