The Consolidate dialog appears when you save your publication:
Tick the Yes button to consolidate resources.