West Yorkshire Fire Service initially dispatched two fire engines to the site in Toftshaw Lane at around 10.15pm, but this increased to 10 engines and two aerial platforms as the scale of the incident became clear.
A spokesman said the fire had involved a plastic bottle making machine used in the factory.
"On arrival it was thought that persons may be trapped inside but a thorough search of building found no persons were involved," he said.
"Crews have used six jets to tackle the fire. They remain in attendance damping down but the incident has been reduced to two engines."
He said a total of around 60 firefighters had attended from stations across the brigade area.