interface ModuleInfo {
    ast: null | ProgramNode;
    attributes: Record<string, string>;
    code: null | string;
    dynamicImporters: readonly string[];
    dynamicallyImportedIdResolutions: readonly ResolvedId[];
    dynamicallyImportedIds: readonly string[];
    exportedBindings: null | Record<string, string[]>;
    exports: null | string[];
    hasDefaultExport: null | boolean;
    id: string;
    implicitlyLoadedAfterOneOf: readonly string[];
    implicitlyLoadedBefore: readonly string[];
    importedIdResolutions: readonly ResolvedId[];
    importedIds: readonly string[];
    importers: readonly string[];
    isEntry: boolean;
    isExternal: boolean;
    isIncluded: null | boolean;
    meta: CustomPluginOptions;
    moduleSideEffects: boolean | "no-treeshake";
    syntheticNamedExports: string | boolean;
}

Hierarchy (view full)

Properties

ast: null | ProgramNode
attributes: Record<string, string>
code: null | string
dynamicImporters: readonly string[]
dynamicallyImportedIdResolutions: readonly ResolvedId[]
dynamicallyImportedIds: readonly string[]
exportedBindings: null | Record<string, string[]>
exports: null | string[]
hasDefaultExport: null | boolean
id: string
implicitlyLoadedAfterOneOf: readonly string[]
implicitlyLoadedBefore: readonly string[]
importedIdResolutions: readonly ResolvedId[]
importedIds: readonly string[]
importers: readonly string[]
isEntry: boolean
isExternal: boolean
isIncluded: null | boolean
moduleSideEffects: boolean | "no-treeshake"
syntheticNamedExports: string | boolean