ManualChunksModuleInfo
This content is not available in your language yet.
Defined in: core/index.ts:671
Return value of meta.getModuleInfo(id) in Rollup manualChunks(id, meta).
Properties
섹션 제목: “Properties”code
섹션 제목: “code”code:
string|null
Defined in: core/index.ts:686
Module source code (compatible with Rollup code).
null for external / asset / unparsed modules. Also null if UTF-8 decoding
fails.
dynamicallyImportedIds
섹션 제목: “dynamicallyImportedIds”dynamicallyImportedIds:
string[]
Defined in: core/index.ts:717
Modules that this module dynamically imports (import()). Includes
external modules.
dynamicImporters
섹션 제목: “dynamicImporters”dynamicImporters:
string[]
Defined in: core/index.ts:712
Modules that dynamically import (import()) this module.
exports
섹션 제목: “exports”exports:
string[]
Defined in: core/index.ts:695
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
섹션 제목: “hasModuleSideEffects”hasModuleSideEffects:
boolean
Defined in: core/index.ts:682
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:672
implicitlyLoadedAfterOneOf
섹션 제목: “implicitlyLoadedAfterOneOf”implicitlyLoadedAfterOneOf:
string[]
Defined in: core/index.ts:703
Result of the implicitlyLoadedAfterOneOf option of this.emitFile
(Rollup-compatible). Always an empty array until the ZNTC plugin context
API (#1880).
implicitlyLoadedBefore
섹션 제목: “implicitlyLoadedBefore”implicitlyLoadedBefore:
string[]
Defined in: core/index.ts:706
The opposite direction — modules that must be loaded after this module is implicitly loaded.
importedIds
섹션 제목: “importedIds”importedIds:
string[]
Defined in: core/index.ts:714
Modules that this module statically imports. Includes external modules.
importers
섹션 제목: “importers”importers:
string[]
Defined in: core/index.ts:710
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
섹션 제목: “isEntry”isEntry:
boolean
Defined in: core/index.ts:673
isExternal
섹션 제목: “isExternal”isExternal:
boolean
Defined in: core/index.ts:677
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
섹션 제목: “isIncluded”isIncluded:
boolean
Defined in: core/index.ts:691
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
섹션 제목: “meta”meta:
Record<string,unknown>
Defined in: core/index.ts:720
Plugin이 load hook의 { meta }로 부여한 메타데이터 (Rollup info.meta 호환).
plugin이 meta를 설정하지 않은 모듈은 빈 객체 {} (#1880 PR2).
syntheticNamedExports
섹션 제목: “syntheticNamedExports”syntheticNamedExports:
boolean
Defined in: core/index.ts:699
Synthetic named exports defined by a plugin (compatible with Rollup
syntheticNamedExports). Always false until the ZNTC plugin context API
extension (#1880).