Skip to content

Commit 366dde2

Browse files
docs: keep the async-dependency comment to two lines
1 parent 117a449 commit 366dde2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎lib/runtime/AsyncModuleRuntimeModule.js‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ class AsyncModuleRuntimeModule extends HelperRuntimeModule {
5858
Template.indent([
5959
`${cst} cache = __webpack_module_cache__[id];`,
6060
"if (!cache) return true;",
61-
// The deferred import starts these, so a cache entry no
62-
// longer means the body finished; a rejected one is
63-
// "done" but its error still has to reach the importer.
61+
// A cached entry no longer means finished, and a rejected
62+
// one is done but its error must still reach the importer.
6463
`${cst} deps = cache.exports;`,
6564
"return deps[webpackDone] !== true || deps[webpackError] !== undefined;"
6665
]),

0 commit comments

Comments
 (0)