Multiple webpack entry points not possible anymore
See original GitHub issueI updated my project with the latest changes from react starter kit and this commit by @frenzzy changed tools/start.js line 36/34 from
config.entry = ['webpack-hot-middleware/client'].concat(config.entry);
to
config.entry = ['react-hot-loader/patch', 'webpack-hot-middleware/client', config.entry];
Replacing .concat removes the possibility to have multiple entry points in tools/webpack.config.js
Was there any specific reasons to change it?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Webpack 5, dev-server 4.0.0beta - multiple entry point routes ...
I have 2 entry points in my webpack.config.js : app , and play I ... I expect to be able to access the...
Read more >Webpack-dev-server HMR not working with multiple entry points
However my dev console does not log any HMR output anymore and nothing happens. It seems like HMR has stopped working in my...
Read more >Entry Points - webpack
Entry Points. As mentioned in Getting Started, there are multiple ways to define the entry property in your webpack configuration. We will show...
Read more >A Beginner's Guide to Webpack - SitePoint
Learn the core concepts to help you get started with webpack, the popular static module bundler. We'll help you understand how webpack works ......
Read more >Introduction to modern Web development with Webpack 4
Apart from Webpack configuration, there is one more case where repeating is possible: bundles. Imagine multiple entry points like the 2 entry points...
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 FreeTop 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
Top GitHub Comments
If you change entry points, you also should change this line.
For example different entry points can be specified like so:
And maybe hot reload needed only for one of them or for all, who knows?
@tamerelsayed what issue? I have bootstrap-loader integrated successfully