Skip to content

Commit 6f4ac87

Browse files
docs: shorten the cycle-detection summary to two lines
1 parent 02b7b3a commit 6f4ac87

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎lib/optimize/InlineExports.js‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,8 @@ const isExportInlined = (moduleGraph, module, ids, runtime) => {
173173
};
174174

175175
/**
176-
* Collects the modules whose exports a cycle peer may read during their temporal
177-
* dead zone, by an iterative Tarjan pass over the harmony import graph. The dead
178-
* zone is only observable through a binding read, so a cycle held together by
179-
* bare side-effect imports still inlines.
176+
* Collects, by an iterative Tarjan pass, the modules a cycle peer may read in
177+
* their dead zone. A cycle of bare side-effect imports still inlines.
180178
* @param {ModuleGraph} moduleGraph module graph
181179
* @param {Iterable<Module>} modules all modules of the compilation
182180
* @returns {Set<Module>} modules whose exports must not be inlined

0 commit comments

Comments
 (0)