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
Copy file name to clipboardExpand all lines: lib/optimize/CommonsChunkPlugin.js
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -213,7 +213,9 @@ The available options are:
213
213
});
214
214
}
215
215
216
-
// this is an entry point - bad
216
+
/**
217
+
* past this point only entry chunks are allowed to become commonChunks
218
+
*/
217
219
if(commonChunk.parents.length>0){
218
220
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