The signature isn't up to date. The options param is not included.
The example and its output were reversed.
Thanks! Added: https://laravel-mix.com/extensions/webpack-config
Laravel mix extension that adds a function to listen to config readiness. And give access to the object and the
circularStringify() function. So people can do anything with it including writing the config to a file. At the same time, it does patch
dumpWebpackConfig() to support the same callback as extra.
npm published and tested.
An extension that gives access to the underlying dispatcher
listen() function. To hook to all internal events. All the events were well documented as well.
npm published and well tested.
Thanks! Added: https://laravel-mix.com/extensions/listen
just fixing a minor typo in the README