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

    Interface ImportedEntityNode<K>

    an imported entity node, similar to ImportedEntity, but with a shared entity object field.

    interface ImportedEntityNode<K = any> {
        entity: OutputFileEntity | ExternalFileEntity;
        key: K;
        with?: Record<string, string>;
        kind: any;
        external: boolean;
    }

    Type Parameters

    • K = any

    Hierarchy

    • Pick<ImportedEntity<K>, "key" | "with" | "kind" | "external">
      • ImportedEntityNode
    Index

    Properties

    the output file entity being referenced by this import. this is present even when resource being referenced is an external resource.

    key: K

    include a unique key that you can use to trace back the imported entity, because the path of the import in the bundled output will differ, whereas this key will remain the same.

    with?: Record<string, string>

    associate a with import attribute to the import.

    kind: any

    indicates the kind of import that is being performed. all of these are inherited from esbuild metafile's EsbuildMetafileImportProps.kind | kind field, with the exception of "user-import", which is assigned when the user specifies an import during the transformation stage (OnTransformResult).

    external: boolean

    indicates if this imported entity is an external resource (and hence not bundled).