How to see the webpack config inside laravel-mix

I couldn't find that info on the internet apparently... I had to dig into the laravel-mix source code to find out :

const mix = require('laravel-mix');

// ...[your stuff here]...

// a callback triggered when the webpack config
// is completely created by laravel-mix
mix.override((config) => {

I don't even know if it's safe or not to change the config by modifying the object in this callback, because there is no fucking documentation about this, on top of the fact that webpack is so obscure and they don't stop refactoring it with tons of breaking changes without giving us propper documentation !!!

.....anyway, good luck bro.

Try out my latest game !

Screenshot of solitaire game