Laravel Mix and Webpack
In this episode we are going to take a look at how you can use Laravel Mix (wrapper around Webpack) to create your asset pipeline in October CMS.
At the beginning of this series I showed you how to use Laravel Elixir for your assets pipeline. And in this episode we are going to cover something similar, evolution of Laravel Elixir into Laravel Mix.
Laravel Mix is a wrapper around Webpack that allows you to very easily write Webpack configuration files. In this episode I’m going to show you how to easily set it up for October CMS, I’m also going to show you how to bundle your modules with Webpack and how to use BrowserSync to reload your page every time you make a change.