The lovely creators of Laravel Mix, put in the common webpack configurations and you can add more custom configurations if you wish.
This is especially wonderful for people that want to use webpack, but feel like configuring webpack is too difficult. Or maybe they wanted to use ES2016 but saw some complicated article about loaders and modules.
Laravel Mix allows you to use a single line to describe what you want and it’ll use it’s preconfigured settings to process it properly.
Continue reading: Using Laravel Mix with Webpack for All Your Assets