August 17, 2018
How to compile Laravel Blade views on demand
During a CI/DI pipeline one of the common build stages is to minify the HTML. To do this in Laravel, you may run gulp html minify to the location of the compiled views (by default storage/views). You might think that that is all it takes, right? Well, it is not that easy. The reason for it is that the compiled...