Excluding external JavaScript from combine
Sometimes there can be an issue with external JavaScript files and minification/ concatenation. These 3rd party JavaScript files are also included in the combined file when enabling Combine JavaScript files on the File Optimization tab.
If you encounter any issues, exclude them under Excluded JavaScript Files:
To exclude external JavaScript files, you may use either the full URL, or simply the domain.
For example, if you notice an issue with a file like this:
https://cdnjs.cloudflare.com/ajax/libs/Flowtype.js/1.1.0/flowtype.min.js
You may enter either of the following in the exclusion area to tell WP Rocket to exclude it:
https://cdnjs.cloudflare.com/ajax/libs/Flowtype.js/1.1.0/flowtype.min.js
or
cdnjs.cloudflare.com
To help locate which 3rd party file to exclude from concatenation, follow our guide here.