multiple-entry-points example error
See original GitHub issueI’m submitting a bug report
When running webpack on the multiple-entry-points example I get an error
Webpack version: 2.1.0-beta.21 OSX 10.x
Current behavior:
TypeError: chunk.hasRuntime is not a function at /Users/me/WebstormProjects/webpack/lib/optimize/CommonsChunkPlugin.js:89:20
Expected/desired behavior: No error
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Multiple entry points not working correctly #88
In my preliminary tests it seems that the module.hot.accept handlers were not handled correctly across entries. It may or may not have something ......
Read more >Program has more then one entry point error! : r/csharp
No idea why it isn't working. Tried to look it up but couldn't find any help. Anyone no how to fix?
Read more >Webpack reference error between multiple entry points
As mention in comments I needed to export - import the values which are defined in their respective module scope. a.js:
Read more >Bogus error: Program has more than one entry point defined
The solution will contain a single project with multiple classes having a Main() method. Rider will highlight each of these methods with an...
Read more >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 >
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
People who are having issues with
webpack-stream
, instead of.pipe(webpack(myConfig))
, do:.pipe(webpack(myConfig, require('webpack'))
.https://github.com/shama/webpack-stream/issues/125
For me issue is reproduced when using
webpack-stream
, but not when cli. Version:webpack@2.1.0-beta.21