creates an array esbuild plugins that can resolve imports in the same way deno can.

it is effectively a cumulation of the following three plugins (ordered from highest resolving priority to lowest):

  • importMapPlugin: provides import-map alias path-resolving for entry-points and esbuild's native resolvers (i.e. when in the default namespace).
  • httpPlugin: provides http:// and https:// path-resolving and resource-fetching loader.
  • jsrPlugin: provides a jsr: to https://jsr.io/ path-resolver.
  • npmSpecifierPlugin: provides a resolver that strips away npm: specifier prefixes.
  • Parameters

    Returns [
        importmap_plugin: Plugin,
        http_plugin: Plugin,
        jsr_plugin: Plugin,
        npm_specifier_plugin: Plugin,
    ]