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.
"content-type"
your http response object.
a set of zero or more esbuild loaders that are accepted by the current http response.
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.