My stack:
NodeJS + react +... + gulp + webpack 2.1

When transpiling ES6 to common JS, I want to split my project code in two bundles: one with node modules, the other with my app code only. How to do that without specifying explicitly each module to put into the node-module-bundle.

From [Webpack documentation](https://webpack.github.io/docs/code-splitting.html#split-app-and-vendor-code), I see no way to specify a directory that should be used as an entry. Does anyone know how to do that?

Regards