Skip to content

Find and check async webpack bundles #3

@DonIsaac

Description

@DonIsaac

Currently, only scripts directly referenced by a page via a script tag are checked for keys. We want to also check scripts downloaded from other scripts. Finding async bundles from the webpack runtime chunk is a good first step to this

Tasks

  • Determine if a script contains the webpack runtime
  • Identify webpack's jsonp loader function
  • Extract public URL prefix + chunk ids + hashes + aliases from jsonp loader function and resolve them to a script url

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions