You may have a closer look at my bundler plugin. It allows you to configure and manage filtered bundles.