Alexander Gundermann

Results comments of Alexander Gundermann

> putting path directly into require() crashes completely so that not even console.log() is displayed on the console (see loadComponent5()). That's because the require statement will cause your test files...

Not sure if I understand you correctly, but if you're looking to put all files into different chunks so that they can be loaded individually, see https://github.com/webpack/webpack/issues/441#issuecomment-53854368 .

Yeah, you should be able to achieve that with the code in the comment I linked.

https://github.com/webpack/webpack/issues/184#issuecomment-36607967

As far as I know there are two options: 1. Bundle your es6 module as [a library](http://webpack.github.io/docs/configuration.html#output-library). This way, you can `require` the bundle to get the exports of its...

I'm confused about what you're trying to achieve. What's the `fetch` for? Why do you need `require.resolve` and multiple entry chunks? Does this help? https://github.com/webpack/webpack/issues/300#issuecomment-45313650

Are all the dynamic dependencies bundled together with the main bundle like in your test cases, or do you have to bundle them separately?

If all the deps are available during compile-time you should be able to use `require.ensure`: ``` js var a = 'a'; require.ensure([], function (require) { // all dynamic entry modules...

I find that approach really interesting as well. Have you considered using multiple `doReactions`, which take different state mappings? I think it would be similar to cyclejs, where you can...

> I would have the describe take getState (rather than a state snapshot) and dispatch. That way, it could be as async as it wants to be. `describe` gets called...