Families were evacuated from their homes as the fire consumed the building in Market Street overnight. You can catch up with our live blog on the incident here
Almost 100 firefighters battled the raging fire for about six hours overnight and were still damping down on Monday afternoon
No one was injured in the fire but residents in Meadow Street and Railway View, fronting onto the warehouse, had to be evacuated from their homes in the early hours of the morning.
Sign up to our daily newsletter
The i newsletter cut through the noise
At the height of the blaze firefighters had about 70 firefighters battling the flames with 12 engines and two cherry pickers.
Crews from Lancashire Fire and Rescue Service were called to the fire at 11.39pm on Sunday and by 10am on Monday crews were still damping down to get rid of pockets of fire.
Pub landlords John Howard and Dianne Dickinson spent the morning taking care of evacuees.
As the fire had taken hold John had stepped outside the Park Road pub at about 11.30pm. When he discovered residents were being evacuated from their homes he told a police officer to bring them to the pub.
Firefighters arrived at the industrial building at 11.40pm on Sunday to find a well-developed fire in part of the building, which spread quickly to other units with combustible material.
Commander Jon Charters requested backup after the fire continued to spread throughout the warehouse and threatened neighbouring properties.
At the fires peak, at around 5am, 12 fire engines and two aerial ladder platforms were engaged in battling the blaze.
The fire could be seen for miles around and firefighters advised residents to keep all windows and doors closed.
Crews from Lancashire and Greater Manchester were placed at strategic points around the perimeter of the fire to prevent the fire from spreading to nearby homes and businesses.
More than 20 people were forced to seek refuge at The Bridge Inn after they were evacuated from their homes on Meadow Street and Railway View in the early hours of the morning.
The evacuated residents were told they would only be permitted to return to their homes once the gutted building was deemed safe.
The fire was eventually brought under control at around 9am on Monday.