Skip to content

Interface: ModuleInfo

Extends

Properties

code

  • Type: string | null

The source code of the module.

null if external or not yet available.


dynamicallyImportedIds

  • Type: string[]

The module ids dynamically imported by this module.


dynamicImporters

  • Type: string[]

The ids of all modules that dynamically import this module.


exports

  • Type: string[]

All exported variables


id

  • Type: string

The id of the module for convenience


importedIds

  • Type: string[]

The module ids statically imported by this module.


importers

  • Type: string[]

The ids of all modules that statically import this module.


invalidate?

  • Type: boolean
  • Optional
Defined in: plugin/index.ts:67

Inherited from

ModuleOptions.invalidate


isEntry

  • Type: boolean

Whether this module is a user- or plugin-defined entry point.


meta

Defined in: plugin/index.ts:64

See Custom module meta-data section for more details.

Inherited from

ModuleOptions.meta


moduleSideEffects

  • Type: ModuleSideEffects
Defined in: plugin/index.ts:62

Inherited from

ModuleOptions.moduleSideEffects


packageJsonPath?

  • Type: string
  • Optional
Defined in: plugin/index.ts:68

Inherited from

ModuleOptions.packageJsonPath