These have proved a simple solution for me. Fill with the yarn of your choice.
Seal the top and then place the bag between your knees.
Then open the seal a little and squeeze, then reseal your flattened bag and store.
(This method has the extra advantage of making the stash appear much less alarming for non-knitting family members)