You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 063c54f
Browse filesBrowse the repository at this point in the historyBrowse files
// we can only move modules from this chunk if the "commonChunk" is the only parent
116
+
returnisAsync||chunk.parents.length===1;
117
+
});
118
+
}
119
+
120
+
// this is an entry point - bad
121
+
if(commonChunk.parents.length>0){
122
+
compilation.errors.push(newError("CommonsChunkPlugin: While running in normal mode it's not allowed to use a non-entry chunk ("+commonChunk.name+")"));
// we can only move modules from this chunk if the "commonChunk" is the only parent
119
-
returnasyncOption||chunk.parents.length===1;
120
-
});
121
-
}else{
122
-
if(commonChunk.parents.length>0){
123
-
compilation.errors.push(newError("CommonsChunkPlugin: While running in normal mode it's not allowed to use a non-entry chunk ("+commonChunk.name+")"));
0 commit comments