@oazmi/superbuild - v0.1.0
    Preparing search index...

    Class SuperPluginBuild

    this is the extension of esbuild.PluginBuild that introduces additional functionality to esbuild's plugin api.

    Implements

    Index

    Constructors

    Properties

    basePluginBuild: PluginBuild
    pluginName: string
    initialOptions: BuildOptions
    esbuild: SuperBuild
    "[INNER_PLUGIN_BUILD]": PluginBuild

    a reference to the original EsbuildPluginBuild that was used to construct this class.

    its presence can be used to check whether or not your plugin is running inside a super-build. gaining access to esbuild's original PluginBuild can be useful in certain situations where bypassing super-build is necessary, such as in the case of the nativeReplicaPlugin, and the underlying EsbuildNativeResolver that it uses.

    Methods

    • Parameters

      • path: string
      • options: ResolveOptions = {}

      Returns Promise<ResolveResult>