Reply To: Combining JS files in WP Rocket

Home Forums MapPress Support Combining JS files in WP Rocket Reply To: Combining JS files in WP Rocket

#20589
dkingmahoney
Participant

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!