HTMLMin / Laravel-HTMLMin

A simple HTML minifier for Laravel 5, 6, 7, 8 & 9.
MIT License
1.02k stars 118 forks source link

custom directive doesn't compile #102

Open spmsupun opened 6 years ago

spmsupun commented 6 years ago

Entrust has few directive call @permission("..") @role @ability .. etc but those directive doesn't compile while i use HTMLMin

https://github.com/Zizaco/entrust#blade-templates

p.s I also registerHTMLMin\HTMLMin\HTMLMinServiceProvider::class, first too

akalongman commented 6 years ago

+1

blackfyre commented 6 years ago

Can only confirm. Custom directives registered in the app/Providers/AppServiceProvider.php file also don't work.

ChrGriffin commented 6 years ago

Can also confirm. Laravel 5.6, zizaco/entrust ^1.9, htmlmin/htmlmin ^5.6.

EDIT: Extremely annoyingly, these directives seemingly won't compile even if I have the given file in my ignore config. So it's either custom directives, or HTMLmin, for an entire application.