Compiling pug in webpack (upgrading from Laravel 5.2 -> 5.4)
I'm attempting to update a project I've been working on from Laravel 5.2 to 5.4. The upgrade is going fine, but I'd really like to use webpack instead of gulp to compile my assets. In my current gulp implementation, I'm using the laravel-elixir-pug plugin to compile the pug files into html files. It's built with angular 1.5.8 so I'm not aware of an easy way to quickly port everything over to using npm requires instead of building the files and putting them in the public directory for angular to load (it's also just using the basic ngRoute router instead of the state provider).
Is anyone aware of a webpack way of accomplishing this? Or know of a plugin I can use to compile pug -> html? Or maybe there's a quick webpack config that I'm unaware of that can easily do that. Any help would be appreciated!
Please or to participate in this conversation.