Exclude files from Remove Query String option
If activating the Static Resources option causes problems with any particular files, as of WP Rocket 2.9.3, you can exclude them from the process by downloading, installing and editing the following small helper plugin.
📥 Download (.zip): WP Rocket | Exclude Files from Cache Busting
Developers: You can find the code for this plugin on GitHub.
Heads up! You must edit the line beginning
$excluded_files to reflect the path of the file you want to exclude.