콘텐츠로 이동

ManualChunksModuleInfo

Defined in: core/index.ts:684

Return value of meta.getModuleInfo(id) in Rollup manualChunks(id, meta).

code: string | null

Defined in: core/index.ts:699

Module source code (compatible with Rollup code). null for external / asset / unparsed modules. Also null if UTF-8 decoding fails.


dynamicallyImportedIds: string[]

Defined in: core/index.ts:730

Modules that this module dynamically imports (import()). Includes external modules.


dynamicImporters: string[]

Defined in: core/index.ts:725

Modules that dynamically import (import()) this module.


exports: string[]

Defined in: core/index.ts:708

The list of names this module exports (compatible with Rollup exports). Includes both default and re-export stars. Empty array for external (the graph has no export info).


hasModuleSideEffects: boolean

Defined in: core/index.ts:695

Whether the module may have side effects (compatible with Rollup hasModuleSideEffects). Determined by the package.json sideEffects field or the treeShaking.moduleSideEffects option. When false, the tree-shaker may remove it if unused.


id: string

Defined in: core/index.ts:685


implicitlyLoadedAfterOneOf: string[]

Defined in: core/index.ts:716

Result of the implicitlyLoadedAfterOneOf option of this.emitFile (Rollup-compatible). Always an empty array until the ZNTC plugin context API (#1880).


implicitlyLoadedBefore: string[]

Defined in: core/index.ts:719

The opposite direction — modules that must be loaded after this module is implicitly loaded.


importedIds: string[]

Defined in: core/index.ts:727

Modules that this module statically imports. Includes external modules.


importers: string[]

Defined in: core/index.ts:723

Modules that statically import this module. External modules are also included in the importer list (when itself is external, an in-graph module is the importer).


isEntry: boolean

Defined in: core/index.ts:686


isExternal: boolean

Defined in: core/index.ts:690

A module not included in the bundle because it matched an external pattern. No AST/source — exposed only as a first-class graph traversal node.


isIncluded: boolean

Defined in: core/index.ts:704

Whether the module is included in the bundle after tree-shaking (compatible with Rollup isIncluded). When treeShaking: false, all modules may appear false — it is a mirror flag on Module, so it stays at its default if the tree-shaker does not run.


meta: Record<string, unknown>

Defined in: core/index.ts:733

Plugin이 load hook의 { meta }로 부여한 메타데이터 (Rollup info.meta 호환). plugin이 meta를 설정하지 않은 모듈은 빈 객체 {} (#1880 PR2).


syntheticNamedExports: boolean

Defined in: core/index.ts:712

Synthetic named exports defined by a plugin (compatible with Rollup syntheticNamedExports). Always false until the ZNTC plugin context API extension (#1880).