given an http response, this function guesses the appropriate esbuild.Loader | esbuild loaders for it. it does so by looking at the "content-type" header of the response, and also by inspecting the file extension of the request's url path.

  • Parameters

    • response: Response

      your http response object.

    Returns Set<Loader>

    a set of zero or more esbuild loaders that are accepted by the current http response.