Pass opts to bundle

This fixes ignoring params on bundling.