@oazmi/esbuild-generic-loader - v0.1.3
    Preparing search index...

    Interface ContentDependencies<K>

    an interface that describes the dependencies and contents of a single file that is parsed by your loader's GenericLoader.extractDeps method.

    interface ContentDependencies<K = string> {
        importKeys: K[];
        importPaths: string[];
        content: string;
    }

    Type Parameters

    • K = string

    Hierarchy (View Summary)

    Index

    Properties

    importKeys: K[]

    an ordered list of unique json-encodable key assigned for each dependency path.

    importPaths: string[]

    an ordered list of dependency paths that your file requires for bundling.

    content: string

    the contents of your loaded file, further transformed to replace the import-paths with unique-keys that are easily identifiable and replaceable later on.