You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to Install Htmlmin in Laravel 5.8 and I tried to skip minification on my backend folder of the application but it is not working. I want to skip the minification on my backend folder because it has a conflict on the @Permission of Laravel.
After upgrading to Laravel 5.8 from 5.7, neither the ignore configuration option or the <!-- skip.minification --> comment are working.
Previously minificaton was working for @permission without needing to ignore any of the files. I tried switching from Blade::directive to Blade::if without luck and also using a different name for the directive.
Replacing the Blade::directive() and Blade::if() calls, with a call to directive() through $this->app['htmlmin.compiler'] fixes this, but this doesn't seem to support if() directives and it seems a bit hacky.
Any ideas on an approach that could solve this properly?
I tried to Install Htmlmin in Laravel 5.8 and I tried to skip minification on my backend folder of the application but it is not working. I want to skip the minification on my backend folder because it has a conflict on the @Permission of Laravel.
"htmlmin.php"
'ignore' => [
'resources/views/backend'
]
The text was updated successfully, but these errors were encountered: