Home › Forums › MapPress Support › Combining JS files in WP Rocket › Reply To: Combining JS files in WP Rocket
December 10, 2023 at 3:26 pm
#20589
I’m having issues again with WP Rocket combining js files, although I’m pretty sure this issue was solved earlier.
I excluded maps.googleapis.com scripts and the plugin’s js files (and used WP Rocket’s recommended test to exclude all inline strings) but no maps display and this error in console: “React is not defined”.
As a longshot I tried also excluding element.js and element.min.js in /wp-includes/js/dist/ but no joy.
Does “React is not defined” provide a clue as to what needs to be added to the list of excluded scripts?
Thanks again in advance for any help!
