Advanced splitting of multi-entry project using webpack This example code uses src/vendor as the vendor directory. The default setup would use node_modules instead. npm install npm run build