@oazmi/esbuild-plugin-deno - v0.4.0
    Preparing search index...

    Function denoPlugins

    • 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):

      • entryPlugin: provides pluginData to all entry-points and their dependencies, in addition to pre-resolving all paths implicitly through the resolverPlugin.
      • httpPlugin: provides http://, https://, and file:// path-resolving and resource-fetching loader.
      • jsrPlugin: provides a jsr: to https://jsr.io/ path-resolver.
      • npmPlugin: provides a resolver that strips away npm: specifier prefixes, so that package-resources can be obtained from your ./node_modules/ folder.
      • resolverPlugin: a namespaced plugin that provides the backbone pipeline for resolving the paths of all of the plugins above.

      Parameters

      Returns [
          entry_plugin: Plugin,
          http_plugin: Plugin,
          jsr_plugin: Plugin,
          npm_plugin: Plugin,
          resolver_pipeline_plugin: Plugin,
      ]