Fire crews were called to an old brewery site on Pontefract Road, Barnsley at 11pm on Sunday night.
A large amount of plastic was on fire. At the height of the fire six fire engines including the turntable ladder were at the scene.
Fire crews left the scene at 9am Monday morning.
An investigation will now take place into the cause of the blaze.