renatomarinho / laravel-page-speed

Package to optimize your site automatically which results in a 35%+ optimization
MIT License
2.4k stars 275 forks source link

Conflict with other packages #164

Open psjavi opened 2 years ago

psjavi commented 2 years ago

Detailed description

Hi, I've a problem with this plugin with the following packages:

If I enable the service, those packages don't work.

How can I skip the page speed implentation for some packages?

Your environment

I've the following configurations:

ohio0987654321 commented 1 year ago

same here.

PHP 8.2 Laravel 9.5 laravel-page-speed 2.1 laravel-debugbar 3.8 laravel-ignition 1.6

In my case =>

When I added CollapseWhitespace::class on kernel.php, laravel-debugbar is not working and occurred some error on dev console like this =>

Uncaught SyntaxError: Unexpected end of input (at javascript?v=1676989262:1:302369)
(index):7 Uncaught ReferenceError: jQuery is not defined at (index):7:1737
(index):7 Uncaught ReferenceError: PhpDebugBar is not defined (index):7:31668

When I added RemoveComments::class on kernel.php, laravel-ignition is not working and occurred some error on dev console like this =>

Uncaught SyntaxError: Invalid regular expression: /,{relevance:10}),{begin:/: Unmatched ')' (at my-blade-file:152:5)
my-blade-file:157 Uncaught TypeError: window.ignite is not a function