Incorrect description in "multiple-entry-points" example for webpack 4
See original GitHub issueThe multiple-entry-points
README.md says:
commons.js
contains:
- the module system
- chunk loading logic
- module
common.js
which is used in both pages
https://github.com/webpack/webpack/blob/master/examples/multiple-entry-points/README.md
However with webpack 4, this no longer seems to be the case. In the output below, it appears the module system and chunk loading logic exist within pageA.js
and pageB.js
.
I am unsure if the description is wrong or if the example output is wrong, but in either case there is a mismatch here.
/cc @sokra
I’d be happy to open a MR to correct this if you could describe what’s happening here. Is there supposed to be webpack runtime code in both pageA.js
and pageB.js
rather than in commons.js
?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Entry Points
We will show you the ways you can configure the entry property, in addition to explaining why it may be useful to you....
Read more >webpack 4 warns of invalid configuration object when ...
I'm following the official webpack docs, that describe how this can be achieved by creating multiple entry points, like so: module.exports = { ......
Read more >webpack@4 Tree Shaking doesn't eliminate code between ...
webpack @4 Tree Shaking doesn't eliminate code between multiple entry points in same configuration object. #4453.
Read more >Webpack Config Basics - 3. Multiple entry points - YouTube
In this video we dive a little bit deeper into entry and output and talk about how we can set our config up...
Read more >How I solved and debugged my Webpack issue through ...
When webpack bundles your source code, it can become difficult to track down errors and warnings to their original location. For example ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@nveenjain go for it! I probably won’t have the time to get to it this week 😄
Can i do a PR for this? It looks easy and that way, i could explore other examples too.