Code Splitting Problem

What seems to be the problem:
When using webpack’s code splitting, Livewire will often times load before all chunks have loaded. Anything loaded after Livewire will not have working directives.

Any idea on a solution? The only thing I can think of is restarting Livewire when a new chunk is loaded, but I feel like there must be a better solution.

Steps to Reproduce:
Use code splitting with webpack and livewire.

Are you using the latest version of Livewire:
Yes