This was an issue with my local installation. I had modified terser-config-atomic locally! This caused the build files to be incorrect