Auto Minify for JavaScript file consistently breaking React compiled JavaScript file

Hey it looks like the Auto Minify feature under Speed → Optimization is breaking the Create React App compiled JavaScript (via Craco https://craco.js.org build script).

My website will consistently load a Syntax Error for the bundled compile JavaScript file that had gone through “Auto Minify optimization”.

I can only get the site to work when turning Auto Minify feature off for JavaScript files reliably. The compiled bundle files are loading okay without Cloudflare too.

when you use javascripts compression be careful, it will affect the visibility of the web interface, maybe some functions are broken, so please double check when compressing the file

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.