AFAIK, in webpack 4 only real entry points of the application are entry points.
If another-module.js is another entry-point it should be renamed to another-entry-point.js, otherwise one could think that any module could be added here.
Or should this section show a way of how not to do code splitting? Because it sounds like a viable way to split your code, by adding any module to the entry configuration section?!
Section: Guides - Code Splitting - Entry-Points
AFAIK, in webpack 4 only real entry points of the application are entry points. If
another-module.js
is another entry-point it should be renamed toanother-entry-point.js
, otherwise one could think that any module could be added here. Or should this section show a way of how not to do code splitting? Because it sounds like a viable way to split your code, by adding any module to the entry configuration section?!This should be made more clear imo.