When using laravel-mix with 3rd party plugins, if I run in to an issue is there a way to extract the webpack config to show them?
Mix dispatches a configReady event with the webpackConfig object.
You should be able to listen for it using something like this:
Mix.listen('configReady', function(webpackConfig) {
// Add code here to output the webpack config or dump it to a file.
})
This is awesome! Thanks @kohenkatz, I never would have found that.
You can also use:
mix.dump()
Most helpful comment
You can also use: