fix where minSrc was always used when bundleAllEnvironments: true. Fixes #32