I’m having trouble getting WP Rocket to exclude JS optimizations of the WP Social Ninja Google Reviews slider.
I’ve confirmed the issue is with WP Rocket because the slider loads correctly when adding /?nowprocket to the URL, and I’ve followed the guide at https://docs.wp-rocket.me/article/1655-troubleshoot-delay-javascript-execution-issues to find the files to exclude, but no matter how many exclusions I add the reviews slider just doesn’t load correctly.
Has anyone had any luck with WP Social Ninja and WP Rocket working together without issues? Any guidance on what to try to exclude would be greatly appreciated.
This is what I’ve tried to exclude so far:
CSS:
/wp-content/plugins/wp-social-reviews/assets/css/wp_social_ninja.css
/wp-content/plugins/wp-social-reviews/(.*).css
wp_social_ninja
JavaScript:
/wp-content/plugins/wp-social-ninja-pro/assets/libs/swiper/swiper-bundle.min.js
/wp-content/plugins/wp-social-ninja-pro/(.*).js
wp_social_ninja
\/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\?(.*))?( |’|”|>)
js-(before|after)
(?:/wp-content/|/wp-includes/)(.*)
/wp-content/plugins/wp-social-ninja-pro/(.*).js
/wp-content/plugins/wp-social-ninja-pro/assets/libs/swiper/swiper-bundle.min.js
wp_social_ninja

Where did you put that exclusion code? There is a specific place in WP Rocket for exclusions.
If you disable WP Rocket, does social ninja work?