Simple suggestion: when stockpiles are destroyed the contents shouldn't vanish but be spilled (like a container would when destroyed).
This would nerf the ability of slimes to destroy miners effort a little and give an incentive to actually fight them (to pickup spewed stockpiles content) instead of running toward the next portal to despawn them. Also it would look good.