Originally published at: https://serversideup.net/using-laravel-mix-in-a-wordpress-theme/
If you’ve ever tried installing Webpack and configuring it from scratch, you know how hard it is. After working with Laravel and using Laravel Mix, I wanted to use it in every PHP based project. Luckily you can! What Laravel Mix does is take the pain out of configuring Webpack and provides you with an…