Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with other packages #164

Open
psjavi opened this issue Mar 15, 2022 · 1 comment
Open

Conflict with other packages #164

psjavi opened this issue Mar 15, 2022 · 1 comment

Comments

@psjavi
Copy link

psjavi commented Mar 15, 2022

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
@sshd911
Copy link

sshd911 commented Mar 2, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants