MCPcopy
hub / github.com/rollup/rollup / include

Method include

src/ast/nodes/shared/Node.ts:86–86  ·  view source on GitHub ↗

* Includes the node in the bundle. If the flag is not set, children are * usually included if they are necessary for this node (e.g. a function body) * or if they have effects. Necessary variables need to be included as well. * This is called repeatedly for each tree-shaking pass.

(
		context: InclusionContext,
		includeChildrenRecursively: IncludeChildren,
		options?: InclusionOptions
	)

Source from the content-addressed store, hash-verified

84 * This is called repeatedly for each tree-shaking pass.
85 */
86 include(
87 context: InclusionContext,
88 includeChildrenRecursively: IncludeChildren,
89 options?: InclusionOptions

Callers 15

includeStatementsMethod · 0.65
includeMethod · 0.65
includeAllInBundleMethod · 0.65
includePathMethod · 0.65
includeCallArgumentsMethod · 0.65
includeCallArgumentsMethod · 0.65
includeMethod · 0.65
includeMethod · 0.65
includeMethod · 0.65
includeMethod · 0.65
includeMethod · 0.65
includeMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected