This is an smart tool that, thanks to simple object configuration, is able to create webpack configuration
Install the plugin:
npm install --save-dev callpage-webpack@latest
Add to your package.json scripts command e.g "create" : "path/to/node_modules/callpage-webpack/core.js"
then in your terminal just enter npm run create
The exported value must be an array!
module.exports = [
{
vendorPath: "node_modules",
buildPath: "/build",
js: {
}
}
]