laravel-page-speed icon indicating copy to clipboard operation
laravel-page-speed copied to clipboard

Conflict with other packages

Open psjavi opened this issue 2 years ago • 1 comments

Detailed description

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

  • spatie/laravel-ignition: ^1.0.9
  • laravel/horizon: 5.9.3
  • debugbar...

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:

  • PHP 8.1
  • Laravel 9

psjavi avatar Mar 15 '22 10:03 psjavi

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

sshd911 avatar Mar 02 '23 04:03 sshd911