Function resolveChunkSelector

  • Tries to import bundle chunk selector function if the corresponding option is set in the webapp plugin configuration. The function takes a request object as an argument and returns the chunk name.

    Parameters

    • options: any

      webapp plugin configuration options

    Returns any

    function that selects the bundle based on the request object