Yes, the documentation for the preview plugin is virtually non-existent. Having figured this out for himself, it is quite easy to use, and there is not much flexibility. Basically, it takes two arguments, the context (optional) and the path to the module (relative to the context). The context in your case would be /absolute/path/to/your/project/node_modules/react-transform-har/ , assuming that the tilde in the screenshot refers to node_modules according to the resolution of the webpack node_module .
The actual prefetch module should ideally have no more than three module dependencies. So in your case isFunction.js is a module with a long assembly chain, and ideally it should be pre-selected in getNative.js
However, I suspect that there is something scary in your config, because your link chain dependencies are related to module dependencies, which should be automatically optimized using webpack. I'm not sure how you got this, but in our case we do not see any warnings about long assembly chains in node_modules. Most of our long assembly chains relate to deeply nested reaction components that require scss. i.e:

Regardless, you want to add a new plugin for each of the alerts, for example:
plugins: [ new webpack.PrefetchPlugin('/web/', 'app/modules/HeaderNav.jsx'), new webpack.PrefetchPlugin('/web/', 'app/pages/FrontPage.jsx') ];
The second argument should be a string for the relative location of the module. Hope this makes sense.
4m1r Oct 20 '15 at 19:11 2015-10-20 19:11
source share